diff options
Diffstat (limited to 'commands')
| -rw-r--r-- | commands/Owners Only/poweroff.js | 1 |
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); } |
