Closed DavidBakerEffendi closed 4 years ago
https://discordpy.readthedocs.io/en/latest/api.html#discord.Client.delete_message
There is the discordpy API for deleting messages.
Just ctrl+f for delete_message to find it
Still need help on this one?
@Skippy404 is in charge here but this was a meme bot for a class Discord channel - since that class is over I've stopped working on this bot but @LakshyaShastri you can go ahead as I believe that this issue is still relevant and needs to be handled.
Since the bot can post stupid shit that I don't want to delete, have a command that it can delete it's own X previous messages or give a pattern to delete its past messages. On a quick Google that I found out that it's possible with the JS version of the Discord API: https://www.youtube.com/watch?v=zZZHKfZFSX0
Something like: