mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-15 18:29:52 +00:00
parent
3cd1fdc1eb
commit
e24914be0b
@ -809,7 +809,7 @@ class BotBase(GroupMixin):
|
|||||||
ret = [p for p in ret if p]
|
ret = [p for p in ret if p]
|
||||||
|
|
||||||
if not ret:
|
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
|
return ret
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user