aboutsummaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
Diffstat (limited to 'discord')
-rw-r--r--discord/ext/commands/flags.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/discord/ext/commands/flags.py b/discord/ext/commands/flags.py
index 07c9cfc4..b356af34 100644
--- a/discord/ext/commands/flags.py
+++ b/discord/ext/commands/flags.py
@@ -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: