Skip to content

Commit

Permalink
Renamed mod reason setting to requirereason
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin1015wang committed Nov 22, 2024
1 parent 166fa15 commit cfbd401
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
10 changes: 5 additions & 5 deletions docs/cog_guides/mod.rst
Original file line number Diff line number Diff line change
Expand Up @@ -266,17 +266,17 @@ and reason as to why they were kicked/banned.

* ``[enabled]``: Whether a message should be sent to a user when they are kicked/banned. |bool-input|

.. _mod-command-modset-hierarchy:
.. _mod-command-modset-reason:

"""""""""
modset reason
"""""""""
""""""""""""""""""""
modset requirereason
""""""""""""""""""""

**Syntax**

.. code-block:: none
[p]modset reason [enabled]
[p]modset requirereason [enabled]
**Description**

Expand Down
3 changes: 1 addition & 2 deletions redbot/cogs/mod/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,8 +372,7 @@ async def dm(self, ctx: commands.Context, enabled: bool = None):

@modset.command()
@commands.guild_only()
# add command for setting reason requirement for mod actions
async def reason(self, ctx: commands.Context, enabled: bool = None):
async def requirereason(self, ctx: commands.Context, enabled: bool = None):
"""
Toggle whether a reason is required for mod actions.
Expand Down

0 comments on commit cfbd401

Please sign in to comment.