delete message discord.py
@client.event
async def on_message(message):
await message.delete()
delete message discord.py
@client.event
async def on_message(message):
await message.delete()
discord.py delete own message
msg = await ctx.send("This is a message")
await msg.delete()
discord.py delete own message
await ctx.send("This is a message", delete_after=5) # deletes message after 5 seconds
discord.py delete own message
@client.command()
async def _clear(ctx,amount=1):
await ctx.channel.purge(limit=amount+1)
delete message discord.py
@client.event
async def on_message(message):
await message.delete()
discord.py delete own message
msg = await ctx.send("This is a message")
await msg.delete()
discord.py delete own message
await ctx.send("This is a message", delete_after=5) # deletes message after 5 seconds
discord.py delete own message
@client.command()
async def _clear(ctx,amount=1):
await ctx.channel.purge(limit=amount+1)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us