Advertisement
Guest User

Untitled

a guest
Jan 29th, 2020
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. import asyncio
  2.  
  3. import discord
  4.  
  5. async def ex(args, message, client, invoke):
  6. await message.channel.purge(limit=1)
  7. embed = discord.Embed(title='Idee',
  8. description='Danke für deinen Vorschlag.', color=discord.Color.green())
  9. await message.channel.send(embed=embed)
  10. channel = discord.utils.get(message.guild.channels, name='💡|vorschläge')
  11.  
  12. suggestion = discord.Embed(title='Vorschlag:',
  13. description=' '.join(args), colour=discord.Color.gold())
  14. mess = await channel.send(embed=suggestion)
  15. await mess.add_reaction('✅')
  16. await mess.add_reaction('❌')
  17. await asyncio.sleep(3)
  18. await message.channel.purge(limit=1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement