def METHOD_NAME(
    self,
) -> Iterator[BridgeCommand | BridgeCommandGroup]:
    """An iterator that recursively walks through all the bot's bridge commands.
    Yields
    ------
    Union[:class:`.BridgeCommand`, :class:`.BridgeCommandGroup`]
        A bridge command or bridge group of the bot.
    """
    for cmd in self._bridge_commands:
        yield cmd
        if isinstance(cmd, BridgeCommandGroup):
            yield from cmd.walk_commands()