diff --git a/nomen/settings.py b/nomen/settings.py index b86434c..ee6f7da 100644 --- a/nomen/settings.py +++ b/nomen/settings.py @@ -148,6 +148,10 @@ You may want to `{ctx.clean_prefix}nomen export` first""" You will not trigger anyone else's notifications, and you will not receive any notifications """ + if await ctx.bot.get_setting(ctx.author.id, "disabled"): + await ctx.send("You are already opted-out") + return + log.debug(f"Opting-out: {ctx.author} ({ctx.author.id})") await ctx.send( @@ -163,6 +167,10 @@ You may want to `{ctx.clean_prefix}nomen export` first""" Opt-in to Nomen processing your messages """ + if not await ctx.bot.get_setting(ctx.author.id, "disabled"): + await ctx.send("You are already opted-in") + return + log.debug(f"Opting-in: {ctx.author} ({ctx.author.id})") await ctx.send(