Open Ahrirg opened 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}
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)
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}