Fix restart, slightly stabilize voice leave event
This commit is contained in:
parent
21e0914268
commit
2bd00d7845
3 changed files with 13 additions and 11 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue