aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Derek <[email protected]>2019-01-10 18:09:14 -0500
committerGravatar Derek <[email protected]>2019-01-10 18:09:14 -0500
commitd8db79581a84c1d8adf0a297d5390c4c3f519aba (patch)
tree5475d4ba02c77b57c67c3df6632f13acd43c02be
parentPut extra sentence in docstring clarifying arg usage (diff)
Update error handler docstring to be more accurate
-rw-r--r--bot/cogs/free.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/bot/cogs/free.py b/bot/cogs/free.py
index 0010b4a90..4be804881 100644
--- a/bot/cogs/free.py
+++ b/bot/cogs/free.py
@@ -103,13 +103,11 @@ class Free:
@free.error
async def free_error(self, ctx: Context, error):
"""
- Runs if any error is raised during invocation
- of !free command. Any error aside from
- CommandOnCooldown is ignored.
-
If error raised is CommandOnCooldown, and the
user who invoked has the helper role, reset
the cooldown and reinvoke the command.
+
+ Otherwise log the error.
"""
helpers = ctx.guild.get_role(Roles.helpers)