Datasets:
Add code/1749204650103_BotContext.ts
Browse files12345678910111213141516171819202122232425262728293031323334// BotContext.tsclass BotContext { commands: Map<any, any>; events: Map<any, any>; cd: Map<any, any>; eventRegistered: any[]; onReaction: any[]; onReply: any[]; mainPath: string; configPath: string; api: any; timeStart: any; version: string; uploadQueue: any[]; uploadInterval: any;
constructor() { this.commands = new Map(); this.events = new Map(); this.cd = new Map(); this.eventRegistered = []; this.onReaction = []; this.onReply = []; this.mainPath = process.cwd(); this.configPath = ""; this.api = null; this.timeStart = null; this.version = "1.0.0"; this.uploadQueue = []; this.uploadInterval = null; }}
export default new BotContext();code/1749204650103_BotContext.tsAdded+34