MCPcopy Create free account
hub / github.com/GlobalTechInfo/MEGA-MDX / constructor

Method constructor

lib/commandHandler.ts:17–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15 disabledCommands: Set<any>;
16 prefixlessCommands: Map<any,any>;
17 constructor() {
18 this.commands = new Map();
19 this.aliases = new Map();
20 this.categories = new Map();
21 this.stats = new Map();
22 this.cooldowns = new Map();
23 this.disabledCommands = new Set();
24 this.prefixlessCommands = new Map();
25 this.watchPlugins();
26 }
27
28 async watchPlugins() {
29 const pluginsPath = path.join(process.cwd(), 'dist/plugins');

Callers

nothing calls this directly

Calls 1

watchPluginsMethod · 0.95

Tested by

no test coverage detected