Closed steeljardas closed 3 years ago
An update on this: It seems like the issue is that it doesn't send any embeds anymore but commands that simply write to the user (ctx.author.send("hello")) all keep working flawlessly.
I have a command !start bot1 that sends a few lines for the user then should send an embed, it sends the lines but not the embed and all the other not working commands are just embeds which leads me to believe the embeds are the issue.
Confirmed, all commands with buttons don't work but the others work just fine
@steeljardas Did u find the cause of the error? I'm having the same issue and I haven't been able to find anything useful or that worked
Summary
Buttons suddenly stops working, no commands work, no errors or exceptions raised.
Reproduction Steps
I just play around with the buttons for 30s to 2 minutes and it happens randomly on the same buttons that were working just a couple seconds ago.
Minimal Reproducible Code
https://pastebin.com/WT3A14iW
Expected Results
Bot to keep working
Actual Results
Bot became completely unresponsive. Won't execute anymore commands !profile !bank anything. No errors or exceptions raised.
Intents
intents = discord.Intents.all()
System Information
Checklist
Additional Context
So, to begin with, the bot is played through DMs with the bot, so I don't know if that could potentially be the issue.
The bot works just fine, all buttons work fine, they do what's intended, however after 30 seconds to 2 minutes of use, when I randomly click a button nothing happens and if I suddenly try to use any commands on it the bot stops executing them entirely.
No errors or exceptions are raised, bot is still running but everything is just frozen. I can see that tasks still run in the background or at least some do.
Example of the buttons code: https://pastebin.com/WT3A14iW
Since I couldn't figure out whats wrong due to no errors I enabled logging and it all happens once the callback returns a 204 error and after that nothing else works, it clearly detects me calling !profile but it wont execute it.