rayzrdev / SharpBot

A Discord.js selfbot written by Rayzr - 60 second installation!
https://git.io/sharpbot
MIT License
129 stars 134 forks source link

Sets user status offline #100

Closed francis2054 closed 6 years ago

francis2054 commented 7 years ago

Whenever I run the bot it will switch my status to offline after a while?

rayzr522 commented 7 years ago

No. If you don't want to show as online all the time, you can use //status invisible. There's really no good solution to the status problem now that Discord changed how it handles user presence data.

francis2054 commented 7 years ago

Oh sorry I dunno why I wrote it like that, having the bot running will cause my status to be set as offline after a while of being afk/inactive. This doesn't happen when the bot isn't running

rayzr522 commented 7 years ago

The bot doesn't/shouldn't do that. There's nothing in the code to explicitly do that, although I wonder if it's the bot.user.setAFK(true);. However, that was also the only solution to still allow mobile notifications when the bot was running.