aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/Owners Only/poweroff.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/Owners Only/poweroff.js b/commands/Owners Only/poweroff.js
index 4bd7f75..e369b0a 100644
--- a/commands/Owners Only/poweroff.js
+++ b/commands/Owners Only/poweroff.js
@@ -13,6 +13,7 @@ exports.run = async (bot, msg) => {
}
else {
await msg.reply(':warning: Pokebot is now powering off!');
+ await bot.user.setStatus('invisible')
console.log('Pokebot is now powering off...');
process.exit(0);
}