h
This commit is contained in:
parent
d2faf027ae
commit
0fee0a61cf
1 changed files with 3 additions and 0 deletions
|
|
@ -9,6 +9,9 @@ class CommandManager {
|
|||
this.commandFolders = ['info', 'system']; // Only include info and system commands
|
||||
this.rest = new REST({ version: '10' }).setToken(process.env.DISCORD_TOKEN);
|
||||
this.authorizedUserId = process.env.AUTHORIZED_USER_ID;
|
||||
|
||||
// Add this line to load commands when the CommandManager is created
|
||||
this.loadCommands();
|
||||
}
|
||||
|
||||
async loadCommands() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue