From 1a8d63d54fe402a319aa78cba0cc9814ad7fb5ff Mon Sep 17 00:00:00 2001 From: Rapptz Date: Fri, 30 Apr 2021 03:29:44 -0400 Subject: [PATCH] [commands] Remove Flag related delimiter and prefix error --- discord/ext/commands/flags.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/discord/ext/commands/flags.py b/discord/ext/commands/flags.py index 07c9cfc47..b356af342 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: