diff --git a/cogs/linking_updater.py b/cogs/linking_updater.py index 47d7e3c..99045e2 100644 --- a/cogs/linking_updater.py +++ b/cogs/linking_updater.py @@ -27,7 +27,7 @@ class Linking_updater(commands.Cog): file = open('users.json', 'r') data = json.load(file) file.close() - guild = bot.get_guild(self.guild_id) + guild = self.bot.get_guild(self.guild_id) i = -1 print("1") for client in data['users']: