-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Hello!
In using the Discord bot, it's inevitable that a typo happens, causing wrong output, and needing to re-enter code to get the right output.
I primarily use the bot to help with teaching and learning languages with people on Discord, and when there's a typo like this, the chat gets clogged with many Judge0Bot messages.
It would be great to have the ability to somehow:
- Ask the bot to re-evaluate some code and replace its output with the new output
- Ask the bot to delete one of its output messages
Reasons you might want to delete is if multiple people try the same thing and you're trying to tidy the chat up, an error happened and you don't want to re-run, or maybe somebody ninja'd you.
I've seen controls for bots on Discord implemented elsewhere by use of Reactions, and I think that's worth considering here for controls. Maybe a re-play 🔁 'button', or have it re-run automatically when the original message is edited (if possible, not familiar with Discord's API)
Thanks!
And thanks for the bot & eval service, both are very useful.