update the info command to use self.bot since we're in a cog

This commit is contained in:
Luke Robles 2022-09-13 15:34:30 -07:00
parent a9b9be8421
commit 630047d5fb

View File

@ -134,8 +134,8 @@ class ServerUtils(commands.Cog):
inline=False, inline=False,
) )
embed.add_field( embed.add_field(
name="Servers using %s" % bot.user.name, name="Servers using %s" % self.bot.user.name,
value="\n".join("[%s](%s)" % (x.name, x.jump_url) for x in bot.guilds), value="\n".join("[%s](%s)" % (x.name, x.jump_url) for x in self.bot.guilds),
) )
embed.set_thumbnail(url=server.icon) embed.set_thumbnail(url=server.icon)