We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fb3f7a commit 68c44c3Copy full SHA for 68c44c3
cogs/modmail.py
@@ -2132,7 +2132,7 @@ async def disable_new(self, ctx):
2132
description="Modmail will not create any new threads.",
2133
color=self.bot.main_color,
2134
)
2135
- if self.bot.config["dm_disabled"] < DMDisabled.NEW_THREADS:
+ if self.bot.config["dm_disabled"] != DMDisabled.NEW_THREADS:
2136
self.bot.config["dm_disabled"] = DMDisabled.NEW_THREADS
2137
await self.bot.config.update()
2138
0 commit comments