diff --git a/cogs/linking_updater.py b/cogs/linking_updater.py index 42a90b7..47d7e3c 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 = self.bot.get_guild(guild_id) + guild = bot.get_guild(self.guild_id) i = -1 print("1") for client in data['users']: