From 88e450ed7fe240b41edf27026c727c6b7804ff48 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 13 Mar 2023 18:48:50 +0100 Subject: [PATCH] Argh! Debugging! --- recruitmentCog/recruitment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recruitmentCog/recruitment.py b/recruitmentCog/recruitment.py index 7423f43..7a04dae 100644 --- a/recruitmentCog/recruitment.py +++ b/recruitmentCog/recruitment.py @@ -55,7 +55,7 @@ class Recruitment(commands.Cog): await self.interactive_application(author) async def get_guild_id(self, ctx: commands.Context) -> int: - guild_id = await self.config.guild(ctx.guild).guild_id() + guild_id = await self.config.guild(ctx.author.guild).guild_id() return guild_id async def is_direct_message(self, ctx: commands.Context) -> bool: