How can I use python to scrape ping messages?
I have a discord bot that I’ve been working on. It will sometimes encounter errors, and I will be busy doing something somewhere else, and I don’t wish for potential clients to have long downtimes. I’ve found a way that I can have it send me a dm regarding the error. The thing is, I use discord for other purposes and will get many dms throughout the day. I still want to be able to receive these messages without having to turn them ALL off when I’m busy, but I was wondering if there was a way to load the location that the dm came from so that, when I’m busy, I can get notices about dms from the bot, but not other people.