daily pastebin goal
27%
SHARE
TWEET

Untitled

a guest Dec 15th, 2018 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     @commands.command()
  2.     async def user(self, ctx, member: discord.User = None):
  3.         if member is None:
  4.             member = ctx.message.author
  5.             pronoun = "Your"
  6.         else:
  7.             pronoun = "Their"
  8.         embed = discord.Embed()
  9.         embed.title = f"{discord.Guild.name}"
  10.         embed.url = member.avatar_url
  11.         embed.author = f"{member.name}#{member.discriminator}"
  12.         embed.image = member.avatar
  13.  
  14.         embed.add_field(self, name="Joined at:", value=member.joined_at, inline=False)
  15.         embed.add_field(self, name="Created at:", value=member.created_at, inline=False)
  16.         embed.add_field(self, name="Status:", value=member.status, inline=False)
  17.         ctx.send(embed=embed)
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