(v4.2) Open Discord Framework Update (Part 2)
Replaced all "Default" classes & types with ID mappings & improved types. Updated Interactive Setup CLI & certain events, renamed ODStat's to ODStatistics. Moved many classes, types & interfaces to the framework
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
///////////////////////////////////////
|
||||
//OPEN TICKET COOLDOWN MAPPINGS
|
||||
///////////////////////////////////////
|
||||
import * as api from "@open-discord-bots/framework/api"
|
||||
|
||||
/**## ODCooldownManagerIdMappings `interface`
|
||||
* A list of all available IDs in the default `ODCooldownManager` class in `opendiscord`.
|
||||
* It's used to generate typescript declarations for this class.
|
||||
*/
|
||||
export interface ODCooldownManagerIdMappings extends api.ODCooldownManagerIdConstraint {
|
||||
//"opendiscord:cooldown":api.ODCooldown
|
||||
}
|
||||
|
||||
/**## ODMappedCooldownManager `class
|
||||
* A special class with types for the Open Ticket `ODCooldownManager` class.
|
||||
*/
|
||||
export class ODMappedCooldownManager extends api.ODCooldownManager<ODCooldownManagerIdMappings> {}
|
||||
Reference in New Issue
Block a user