filter out empty messages and bot messages
@@ -26,6 +26,7 @@ class Useful(commands.Cog):
@commands.Cog.listener()
async def on_message_delete(self, message):
+ if not message.author.bot and message.content:
self.snipes[message.channel.id] = message, time.time()
@tasks.loop(seconds=30)
