1
0
Fork 0
mirror of synced 2024-06-15 00:54:34 +12:00

Used the user object instead of member, to alow use in PM

This commit is contained in:
Phxntxm 2017-01-21 20:35:20 -06:00
parent 241889b382
commit 9dd0c9d2f6

View file

@ -176,7 +176,7 @@ class Core:
# The rest is simple, create the embed, set the thumbail to me, add all fields if they exist
embed = discord.Embed(title=cmd.qualified_name)
embed.set_thumbnail(url=ctx.message.server.me.avatar_url)
embed.set_thumbnail(url=self.bot.user.avatar_url)
embed.add_field(name="Description", value="\n".join(description), inline=False)
if example:
embed.add_field(name="Example", value="\n".join(example), inline=False)