From dd57d352486a3efcb96bc057c1b7532f99810ec4 Mon Sep 17 00:00:00 2001 From: GeckoEidechse Date: Tue, 27 Aug 2024 15:40:29 +0200 Subject: [PATCH] fix: Address incorrect conditional logic breaking toggling global replies --- reaper/cogs/global_replies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reaper/cogs/global_replies.py b/reaper/cogs/global_replies.py index dfff987..a510ae6 100644 --- a/reaper/cogs/global_replies.py +++ b/reaper/cogs/global_replies.py @@ -51,7 +51,7 @@ async def toggleglobalreplies(self, ctx): await ctx.send(embed=replieson) logger.info("Automatic bot replies are enabled") - elif not replies: + else: replies = False await ctx.send(embed=repliesoff) logger.info("Automatic bot replies are disabled")