From 048af76400dad5cf2691fabaab6f6864a71df0b7 Mon Sep 17 00:00:00 2001 From: phxntxm Date: Tue, 11 Jul 2017 14:36:24 -0500 Subject: [PATCH] Correct attribute lookup on owner --- cogs/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/misc.py b/cogs/misc.py index 5b07d9a..2c50646 100644 --- a/cogs/misc.py +++ b/cogs/misc.py @@ -183,7 +183,7 @@ class Miscallaneous: # Set the owner embed = discord.Embed(**opts) if hasattr(self.bot, 'owner'): - embed.set_author(name=str(self.bot.owner), icon_url=self.bot.avatar_url) + embed.set_author(name=str(self.bot.owner), icon_url=self.bot.owner.avatar_url) # Setup the process statistics name = "Process stats"