я профессионал я профессионал, ты, бо

@efgabc (3)
efgabc
efgabc
shared a Post
4 months ago
4
How to code a discord snipe command -_-
Tutorials
How to code a discord snipe command using Python -_-
Read full post
RajatMenon1
RajatMenon1 snipemessageauthor = {} snipemessagecontent = {} @bot.event async def onmessagedelete(message): snipemessageauthor[message.channel.id] = message.author snipemessagecontent[message.channel.id] = message.content await sleep(60) del snipemessageauthor[message.channel.id] del snipemessagecontent[message.channel.id] @bot.command(name="snipe") async def snipe(ctx): channel = ctx.channel try: # This piece of code is run if the bot finds anything in the dictionary 3 months ago