mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
[commands] Remove Flag related delimiter and prefix error
This commit is contained in:
parent
58274eafbc
commit
1a8d63d54f
@ -276,9 +276,6 @@ class FlagsMeta(type):
|
||||
):
|
||||
attrs['__commands_is_flag__'] = True
|
||||
|
||||
if not prefix and not delimiter:
|
||||
raise TypeError('Must have either a delimiter or a prefix set')
|
||||
|
||||
try:
|
||||
global_ns = sys.modules[attrs['__module__']].__dict__
|
||||
except KeyError:
|
||||
|
Loading…
x
Reference in New Issue
Block a user