Correct attribute lookup on owner
This commit is contained in:
parent
fab533c07a
commit
048af76400
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue