#Bot disconnects from vc after a few days on external host

5 messages · Page 1 of 1 (latest)

azure crane
#

My bot disconnects from a voice channel after a few days (no specific number). At the same time, the bot's presence gets removed. I'm not sure whether it had something to do with Discord.js or with the hosting service, so I'm asking the question here first.

orchid archBOT
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

restive parcel
#

Sounds like a normal reconnect to me. Pass the presence in your client constructor and make sure to (re)join VCs on ready or shardReconnect

azure crane
restive parcel
#

As I said, pass the presence: as property in the client constructor to have it persist beyond reconnects