From 6403d0f4c3f6f4df8b363eaeacaf479e2c472346 Mon Sep 17 00:00:00 2001 From: onerandomusername Date: Wed, 27 Jul 2022 15:32:36 -0400 Subject: [PATCH] chore: rename flag converter file to flag_converter to avoid conflicting with ext.commands flag classes --- disnake/ext/commands/__init__.py | 2 +- disnake/ext/commands/errors.py | 2 +- disnake/ext/commands/{flags.py => flag_converter.py} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename disnake/ext/commands/{flags.py => flag_converter.py} (100%) diff --git a/disnake/ext/commands/__init__.py b/disnake/ext/commands/__init__.py index 652afe55cd..682b8f8db1 100644 --- a/disnake/ext/commands/__init__.py +++ b/disnake/ext/commands/__init__.py @@ -18,7 +18,7 @@ from .ctx_menus_core import * from .custom_warnings import * from .errors import * -from .flags import * +from .flag_converter import * from .help import * from .params import * from .slash_core import * diff --git a/disnake/ext/commands/errors.py b/disnake/ext/commands/errors.py index 2c8d29f7e1..e949328fec 100644 --- a/disnake/ext/commands/errors.py +++ b/disnake/ext/commands/errors.py @@ -39,7 +39,7 @@ from .context import Context from .cooldowns import BucketType, Cooldown - from .flags import Flag + from .flag_converter import Flag __all__ = ( diff --git a/disnake/ext/commands/flags.py b/disnake/ext/commands/flag_converter.py similarity index 100% rename from disnake/ext/commands/flags.py rename to disnake/ext/commands/flag_converter.py