ODOptionCounterFixedSuffix class
under construction
We are still working the API Reference! This page might be incomplete or doesn't contain all details!
Overview
This is an Open Ticket counter-fixed option suffix.
This class can generate a counter-fixed suffix for a discord channel name from a specific option.
Use getSuffix() to get the new suffix!
Properties
database class ➜ api.ODDatabase
The database where the value of this counter is stored.
inherited id class ➜ api.ODId
The id of this data.
inherited option class ➜ api.ODTicketOption
The option of this suffix.
Methods
constructor() function ➜ api.ODOptionCounterFixedSuffix
(no description)
View Parameters (3)
id: type ➜api.ODValidId- Parameter Description Lorem Ipsum.option: class ➜api.ODTicketOption- Parameter Description Lorem Ipsum.database: class ➜api.ODDatabase- Parameter Description Lorem Ipsum.
inherited protected _change() function ➜ void
Trigger an onChange() event in the parent ODManager of this class.
inherited changed() function ➜ void
(❌ SYSTEM ONLY!!) Set the callback executed when a value inside this class changes.
getSuffix() function ➜ string
Get the suffix for a new ticket.
View Parameters (1)
user: type ➜discord.User- Parameter Description Lorem Ipsum.
Defaults
under construction
We're still working on this part of the documentation!
Examples
under construction
We're still working on this part of the documentation!