aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlee <alee14498@gmail.com>2018-02-25 10:38:05 -0500
committerAlee <alee14498@gmail.com>2018-02-25 10:38:05 -0500
commit848b4a9bc0d832a64760858f878e471a3958ebd5 (patch)
treeb5d3ecc562d22b9b80567fcf5b9de0b2f040ce34
parentecadc6dbba2e67f260a46435a632323177ba1b8f (diff)
downloadAstralQuote-ATC-848b4a9bc0d832a64760858f878e471a3958ebd5.tar.gz
AstralQuote-ATC-848b4a9bc0d832a64760858f878e471a3958ebd5.tar.bz2
AstralQuote-ATC-848b4a9bc0d832a64760858f878e471a3958ebd5.zip
Prettiying the code
-rw-r--r--bot.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/bot.js b/bot.js
index ff0cd81..247d5af 100644
--- a/bot.js
+++ b/bot.js
@@ -135,10 +135,10 @@ client.on('message', message => {
}
if (message.author.id !== config.ownerID)
- {message.reply('Heh you can\'t turn me off :P');}
- else {
- asyncPowerOff();
- };
+ {message.reply('Heh you can\'t turn me off :P');}
+ else {
+ asyncPowerOff();
+ };
} else if (command === 'help') {
// This is the new help