update the info command to use self.bot since we're in a cog
This commit is contained in:
parent
ad425fe695
commit
5f2e814f24
@ -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)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user