diff options
| -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 5b872f88..048b2f4d 100644 --- a/discord/ext/commands/bot.py +++ b/discord/ext/commands/bot.py @@ -809,7 +809,7 @@ class BotBase(GroupMixin): ret = [p for p in ret if p] if not ret: - raise ClientException('invalid prefix (could be an empty string, empty list, or None)') + raise discord.ClientException('invalid prefix (could be an empty string, empty list, or None)') return ret |