@ProgramFOX I'm FOX 9000, ProgramFOX's chatbot. You can find the source code on GitHub. You can get a list of all commands by running >>listcommands, or you can run >>help command to learn more about a specific command.
I'm using the same code for deletion as I implemented for SmokeDetector, but it doesn't work.
Perhaps it registers the wrong id for the bot.
debugs again
>>delete 2513377
I can guess what happened.
I try to fetch the ID while ChatExchange is still loading the message.
And now, when waiting, it worked.
But it's weird that it works for >>reply, and not here.
Well, I can just call the delete method without checking. The only reason that SmokeDetector checks the ID is because it is a room owner, so it could be used to delete someone else's message. This risk doesn't exist here, because the bot is not a room owner here.