From bf9afd97920d76d80282f63c2642ccc595e67f8c Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Fri, 21 Feb 2025 16:10:43 -0500 Subject: [PATCH] properly get guild id for resume --- nomen/notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nomen/notifications.py b/nomen/notifications.py index 9cefc2b..eaeb8fb 100644 --- a/nomen/notifications.py +++ b/nomen/notifications.py @@ -367,7 +367,7 @@ class Notifications(Cog): Resume notifications in this guild """ - params = (ctx.author.id, ctx.guild_id) + params = (ctx.author.id, ctx.guild.id) if await ctx.bot.db.fetch_exists("SELECT * FROM user_pauses WHERE user_id=? AND guild_id=?", params): await ctx.bot.db.execute("DELETE FROM user_pauses WHERE user_id=? AND guild_id=?", params) await ctx.bot.db.commit()