diff --git a/cogs/linking.py b/cogs/linking.py index 2adb251..a3b452d 100644 --- a/cogs/linking.py +++ b/cogs/linking.py @@ -14,7 +14,7 @@ class Linking(commands.Cog): def __init__(self, bot): self.bot = bot - guild_id = int(os.getenv('guild_id')) + self.guild_id = int(os.getenv('guild_id')) @commands.Cog.listener() async def on_message(self, message):