From 4e3311a6a0d6d2fafa867309993a7814a155871d Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Tue, 13 Sep 2022 15:34:30 -0700 Subject: [PATCH] update the info command to use self.bot since we're in a cog --- app/cogs/server_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/cogs/server_utils.py b/app/cogs/server_utils.py index 4cfd5a3c..7fff4df5 100644 --- a/app/cogs/server_utils.py +++ b/app/cogs/server_utils.py @@ -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)