Fix restart, slightly stabilize voice leave event

This commit is contained in:
Essem 2023-01-28 22:58:51 -06:00
parent 21e0914268
commit 2bd00d7845
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C
3 changed files with 13 additions and 11 deletions

View file

@ -7,7 +7,7 @@ class RestartCommand extends Command {
this.success = false;
return "Only the bot owner can restart me!";
}
await this.message.channel.createMessage(Object.assign({
await this.channel.createMessage(Object.assign({
content: "esmBot is restarting."
}, this.reference));
process.exit(1);