diff options
| author | Rapptz <[email protected]> | 2018-06-10 18:41:36 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2018-06-10 18:41:36 -0400 |
| commit | 607771c4f49a12d984d782883a580e7332359a10 (patch) | |
| tree | 9499c06da0c208a22e972aad2544becddf6cb049 | |
| parent | Disable compression for websockets. (diff) | |
| download | discord.py-607771c4f49a12d984d782883a580e7332359a10.tar.xz discord.py-607771c4f49a12d984d782883a580e7332359a10.zip | |
Fix Bot.get_prefix second parameter breaking.
| -rw-r--r-- | discord/ext/commands/bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py index f2b7a806..c5e1a1c4 100644 --- a/discord/ext/commands/bot.py +++ b/discord/ext/commands/bot.py @@ -795,7 +795,7 @@ class BotBase(GroupMixin): """ prefix = ret = self.command_prefix if callable(prefix): - ret = await discord.utils.maybe_coroutine(prefix, self, ret) + ret = await discord.utils.maybe_coroutine(prefix, self, message) if isinstance(ret, (list, tuple)): ret = [p for p in ret if p] |