Skip to content

Commit

Permalink
Fix no pfp error in other places too
Browse files Browse the repository at this point in the history
  • Loading branch information
yiays committed Oct 15, 2024
1 parent 6c2fb2a commit e7b8a49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ async def about(self, inter:discord.Interaction):

embed.set_footer(
text=self.babel(inter, 'creator_footer'),
icon_url=self.bot.user.avatar.url
icon_url=self.bot.user.avatar.url if self.bot.user.avatar else None
)

await inter.response.send_message(
Expand Down Expand Up @@ -335,7 +335,7 @@ async def changes(self, inter:discord.Interaction, search:Optional[str] = None):
)
embed.set_footer(
text=self.babel(inter, 'creator_footer'),
icon_url=self.bot.user.avatar.url
icon_url=self.bot.user.avatar.url if self.bot.user.avatar else None
)

await inter.response.send_message(
Expand Down

0 comments on commit e7b8a49

Please sign in to comment.