DenverCoder1 / jct-discord-bot

Bot for JCT ESP CompSci Discord Server
MIT License
11 stars 1 forks source link

Button to delete bot messages #197

Open PSilver22 opened 3 years ago

PSilver22 commented 3 years ago

A button to be added to every message from the bot that will delete the given message. Maybe only made available to the person who sent the command to the bot.

abrahammurciano commented 3 years ago

Great idea, definitely worth implementing

DenverCoder1 commented 3 years ago

I definitely agree.

I'd recommend doing a listener for the :wastebasket: emoji instead of using buttons.

Discord's buttons are pretty big and too distracting for a feature like this, but also, support is not that great right now. When discord.py v2.0 is released, it will be much easier, but for now there's just third party libraries that have many issues and don't work with slash commands yet unless you do weird hacks. You could do API requests directly, but it might not be worth the effort.

abrahammurciano commented 3 years ago

In the case is probably better to just wait for v2.0