From 6556392a9c62c7fd057fb47a48457ee99cb0dc91 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Thu, 23 Jun 2016 20:17:19 -0400 Subject: [PATCH] [commands] Fix error where consume rest would not work. I didn't end up refactoring this piece of work out. --- discord/ext/commands/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index 62ae0408d..9308e9ce2 100644 --- a/discord/ext/commands/core.py +++ b/discord/ext/commands/core.py @@ -306,7 +306,7 @@ class Command: if self.rest_is_raw: converter = self._get_converter(param) argument = view.read_rest() - kwargs[name] = yield from self.do_conversion(ctx.bot, ctx.message, converter, argument) + kwargs[name] = yield from self.do_conversion(ctx, converter, argument) else: kwargs[name] = yield from self.transform(ctx, param) break