Skip to content

Commit

Permalink
[Captcha] fix toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
japandotorg committed Oct 25, 2023
1 parent 812a76d commit 836af36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion captcha/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async def _toggle(self, ctx: commands.Context, toggle: bool):
"""
Toggle the captcha verification system.
"""
await self.config.guild(ctx.guild).toggle.set(bool) # type: ignore
await self.config.guild(ctx.guild).toggle.set(toggle) # type: ignore
await ctx.send(
f"Captcha verification is now {'enabled' if toggle else 'disabled'}.",
)
Expand Down

0 comments on commit 836af36

Please sign in to comment.