diff --git a/disnake/ext/commands/bot.py b/disnake/ext/commands/bot.py index f685ac00df..eaca344d58 100644 --- a/disnake/ext/commands/bot.py +++ b/disnake/ext/commands/bot.py @@ -26,6 +26,7 @@ from ._types import MaybeCoro from .bot_base import PrefixType + from .flags import ApplicationCommandSyncFlags from .help import HelpCommand @@ -221,9 +222,7 @@ def __init__( owner_ids: Optional[Set[int]] = None, reload: bool = False, case_insensitive: bool = False, - sync_commands: bool = True, - sync_commands_debug: bool = False, - sync_commands_on_cog_unload: bool = True, + command_sync: ApplicationCommandSyncFlags = ..., test_guilds: Optional[Sequence[int]] = None, asyncio_debug: bool = False, loop: Optional[asyncio.AbstractEventLoop] = None, @@ -272,9 +271,7 @@ def __init__( owner_ids: Optional[Set[int]] = None, reload: bool = False, case_insensitive: bool = False, - sync_commands: bool = True, - sync_commands_debug: bool = False, - sync_commands_on_cog_unload: bool = True, + command_sync: ApplicationCommandSyncFlags = ..., test_guilds: Optional[Sequence[int]] = None, asyncio_debug: bool = False, loop: Optional[asyncio.AbstractEventLoop] = None, @@ -404,9 +401,7 @@ def __init__( owner_id: Optional[int] = None, owner_ids: Optional[Set[int]] = None, reload: bool = False, - sync_commands: bool = True, - sync_commands_debug: bool = False, - sync_commands_on_cog_unload: bool = True, + command_sync: ApplicationCommandSyncFlags = ..., test_guilds: Optional[Sequence[int]] = None, asyncio_debug: bool = False, loop: Optional[asyncio.AbstractEventLoop] = None, @@ -448,9 +443,7 @@ def __init__( owner_id: Optional[int] = None, owner_ids: Optional[Set[int]] = None, reload: bool = False, - sync_commands: bool = True, - sync_commands_debug: bool = False, - sync_commands_on_cog_unload: bool = True, + command_sync: ApplicationCommandSyncFlags = ..., test_guilds: Optional[Sequence[int]] = None, asyncio_debug: bool = False, loop: Optional[asyncio.AbstractEventLoop] = None,