Skip to content

Option to delete bot output, and to re-run bot on code block #11

@Zulu-Inuoe

Description

@Zulu-Inuoe

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:

  1. Ask the bot to re-evaluate some code and replace its output with the new output
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions