diff --git a/disnake/ext/commands/interaction_bot_base.py b/disnake/ext/commands/interaction_bot_base.py index 35792f9941..4aaf725ab1 100644 --- a/disnake/ext/commands/interaction_bot_base.py +++ b/disnake/ext/commands/interaction_bot_base.py @@ -254,14 +254,6 @@ def command_sync_flags(self) -> CommandSyncFlags: """ return CommandSyncFlags._from_value(self._command_sync_flags.value) - def application_commands_iterator(self) -> Iterable[InvokableApplicationCommand]: - warn_deprecated( - "application_commands_iterator is deprecated and will be removed in a future version. " - "Use all_app_commands.values() instead.", - stacklevel=3, - ) - return self.all_app_commands.values() - @property def application_commands(self) -> Set[InvokableApplicationCommand]: """Set[:class:`InvokableApplicationCommand`]: A set of all application commands the bot has.""" @@ -983,15 +975,8 @@ def decorator( # command synchronisation def _ordered_unsynced_commands( - self, test_guilds: Optional[Sequence[int]] = MISSING + self ) -> Tuple[List[ApplicationCommand], Dict[int, List[ApplicationCommand]]]: - if test_guilds is not MISSING: - warn_deprecated( - "Argument test_guilds of _ordered_unsynced_commands is deprecated " - "and will be removed in a future version.", - stacklevel=3, - ) - global_cmds = [] guilds = {}