This commit is contained in:
Daniel Odendahl Jr
2017-09-09 15:16:54 +00:00
parent a063f06709
commit 095c10f870
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ module.exports = class SoundboardCommand extends Command {
dispatcher.once('error', () => channel.leave());
return null;
} catch (err) {
await channel.leave();
channel.leave();
return msg.say(`Oh no, an error occurred: \`${err.message}\`. Try again later!`);
}
}