update the info command to use self.bot since we're in a cog
This commit is contained in:
parent
c2cd303c03
commit
4e3311a6a0
@ -134,8 +134,8 @@ class ServerUtils(commands.Cog):
|
||||
inline=False,
|
||||
)
|
||||
embed.add_field(
|
||||
name="Servers using %s" % bot.user.name,
|
||||
value="\n".join("[%s](%s)" % (x.name, x.jump_url) for x in bot.guilds),
|
||||
name="Servers using %s" % self.bot.user.name,
|
||||
value="\n".join("[%s](%s)" % (x.name, x.jump_url) for x in self.bot.guilds),
|
||||
)
|
||||
embed.set_thumbnail(url=server.icon)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user