Does anyone know why I may get a 401 error after editing a message?
I explain: I have a bot that allows having timers. I create a thread for each timer, and they update the message every minute so that the user sees the time reflected.
The problem is that sometimes (after a while), I get the 401 error, Unauthorized.
This has never happened to me in the first 15 minutes.
The code is straightforward. It decrements one minute and updates the message.