Merubokkusu / Discord-S.C.U.M

A Discord API Wrapper for Userbots/Selfbots written in Python.
MIT License
581 stars 170 forks source link

Bot Stops working after some time #481

Open Ahrirg opened 4 months ago

Ahrirg commented 4 months ago

trying to make bot that reads all of messages that are sent to the guild, and rewrites them in one channel on another guild After some time(varries, sometimes 10 mins, sometimes 3 hours), bot just plainly stops writing, just printing

[gateway] > {'op': 1, 'd': 30} [gateway] < {'t': None, 's': None, 'op': 11, 'd': None}

Nixeld commented 1 month ago

I think this is a problem with Discum auto reconnect. Workaround for this is to set auto reconnect to false and restart the bot using other methods.

bot.gateway.run(auto_reconnect=False)