Skip to content

Commit

Permalink
use avatar from dpy instead of db (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMoksej authored Apr 13, 2021
1 parent 4700a33 commit 975f028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ async def robot_info(self, ctx, *, bot: discord.User):
value=str(db_bot["serverCount"]))
embed.add_field(name=f"{self.bot.settings['emoji']['url']} Listing URL",
value=f"{self.bot.settings['website']['url']}/bots/{db_bot['_id']}", inline=False)
embed.set_thumbnail(url=f"{db_bot['avatar']['url']}")
embed.set_thumbnail(url=bot.avatar_url)

await ctx.send(embed=embed)

Expand Down

0 comments on commit 975f028

Please sign in to comment.