Archived
tweaked to only freeze the list
This commit is contained in:
1 parent
6c687d5a2e
commit
40eb4b35da
1 file changed
+1
-1
+1
-1
@@ -132,7 +132,7 @@ export class Bot extends EventEmitter {
|
||||
const helpMsg: Command = new HelpMessage(this.commands, this.messages.help, this.name);
|
||||
this.commands.add(helpMsg);
|
||||
}
|
||||
Object.freeze(this.commands);
|
||||
Object.freeze(this.commands.list);
|
||||
process.stdout.write("Connecting to Discord... ");
|
||||
this.client.login(this.token);
|
||||
this.client.on("ready", async () => {
|
||||
|
||||
Reference in new issue
Block a user