From 9dd0c9d2f6bd00f539e919cf0c547a588fe9e5ac Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Sat, 21 Jan 2017 20:35:20 -0600 Subject: [PATCH] Used the user object instead of member, to alow use in PM --- cogs/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/core.py b/cogs/core.py index 5ca6309..5ae127b 100644 --- a/cogs/core.py +++ b/cogs/core.py @@ -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)