Skip to content

Commit

Permalink
fix: Address incorrect conditional logic breaking toggling global rep…
Browse files Browse the repository at this point in the history
…lies
  • Loading branch information
GeckoEidechse committed Aug 27, 2024
1 parent 199813f commit dd57d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reaper/cogs/global_replies.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit dd57d35

Please sign in to comment.