Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import asyncio
- import discord
- async def ex(args, message, client, invoke):
- await message.channel.purge(limit=1)
- embed = discord.Embed(title='Idee',
- description='Danke für deinen Vorschlag.', color=discord.Color.green())
- await message.channel.send(embed=embed)
- channel = discord.utils.get(message.guild.channels, name='💡|vorschläge')
- suggestion = discord.Embed(title='Vorschlag:',
- description=' '.join(args), colour=discord.Color.gold())
- mess = await channel.send(embed=suggestion)
- await mess.add_reaction('✅')
- await mess.add_reaction('❌')
- await asyncio.sleep(3)
- await message.channel.purge(limit=1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement