SHARE
TWEET

Untitled

a guest Jan 29th, 2020 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top