1
0
mirror of https://github.com/Rapptz/discord.py.git synced 2025-05-15 02:09:49 +00:00

[commands] Fix NameError when given an invalid prefix.

Closes 
This commit is contained in:
Rapptz 2017-09-12 04:22:13 -04:00
parent 3cd1fdc1eb
commit e24914be0b

@ -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