Advertisement
Guest User

Discord.py Not working

a guest
Aug 24th, 2020
2,235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. # Poll command
  2. @client.command()
  3. async def poll(ctx, *args):
  4. mesg = ' '.join(args)
  5. await ctx.message.delete()
  6. embed=discord.Embed(title=":ballot_box: Poll", description="Poll time!", color=0x1abc1f)
  7. embed.add_field(name="Question", value=mesg, inline=True)
  8. embed.set_footer(text="Made by changedmyname#5663")
  9. message = await ctx.send(embed=embed)
  10. await message.add_reaction("✅")
  11. await message.add_reaction("❌")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement