From d8db79581a84c1d8adf0a297d5390c4c3f519aba Mon Sep 17 00:00:00 2001 From: Derek Date: Thu, 10 Jan 2019 18:09:14 -0500 Subject: Update error handler docstring to be more accurate --- bot/cogs/free.py | 6 ++---- 1 file 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) -- cgit v1.2.3