Used the user object instead of member, to alow use in PM
This commit is contained in:
parent
241889b382
commit
9dd0c9d2f6
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ class Core:
|
||||||
|
|
||||||
# The rest is simple, create the embed, set the thumbail to me, add all fields if they exist
|
# 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 = 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)
|
embed.add_field(name="Description", value="\n".join(description), inline=False)
|
||||||
if example:
|
if example:
|
||||||
embed.add_field(name="Example", value="\n".join(example), inline=False)
|
embed.add_field(name="Example", value="\n".join(example), inline=False)
|
||||||
|
|
Loading…
Reference in a new issue