diff --git a/nomen/notifications.py b/nomen/notifications.py index 93bc234..b84fe18 100644 --- a/nomen/notifications.py +++ b/nomen/notifications.py @@ -145,8 +145,8 @@ class Notifications(Cog): await handle_triggers(ctx, message) - async def cog_before_invoke(ctx): - await ctx.bot.db.execute("INSERT OR IGNORE INTO users (userid) VALUE(?)", (ctx.author.id,)) + async def cog_before_invoke(self, ctx): + await ctx.bot.db.execute("INSERT OR IGNORE INTO users (user_id) VALUES(?)", (ctx.author.id,)) @group( aliases=["kw", "notification", "notifications", "notif", "noti"],