Skip to content

Commit

Permalink
[mod] force reasons
Browse files Browse the repository at this point in the history
  • Loading branch information
flaree committed Jul 22, 2024
1 parent 54b8ecb commit 116fa06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/mod.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ async def modset_showmessages(self, ctx: commands.Context):
)
await ctx.send(box(msg))

@modset.command()
@modset.command(name="reasons")
async def modset_require_reason(self, ctx: commands.Context, value: bool):
"""Set whether a reason is required for moderation actions."""
await self._config.guild(ctx.guild).require_reason.set(value)
Expand Down

0 comments on commit 116fa06

Please sign in to comment.