aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar momothereal <[email protected]>2018-07-18 17:06:13 -0400
committerGravatar momothereal <[email protected]>2018-07-18 17:06:13 -0400
commit81e391a48139c1220f9aee66fd539c99e3ab752f (patch)
treeb18a621f122333697646143c9941087d87979760
parentAdd default infraction URLs to config, cleanup moderation cog (diff)
Revert change to warning command format
-rw-r--r--bot/cogs/moderation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/moderation.py b/bot/cogs/moderation.py
index 23188ea57..d3f8511e0 100644
--- a/bot/cogs/moderation.py
+++ b/bot/cogs/moderation.py
@@ -20,11 +20,11 @@ class Moderation:
@with_role(Roles.admin, Roles.owner, Roles.moderator)
@command(name="moderation.warn")
- async def warn(self, ctx, user: User, *, reason: str):
+ async def warn(self, ctx, user: User, reason: str):
"""
Create a warning infraction in the database for a user.
:param user: accepts user mention, ID, etc.
- :param reason: the reason for the warning.
+ :param reason: the reason for the warning. Wrap in string quotes for multiple words.
"""
try: