def __init__(self, ack_word: str, bot_controller: AbstractBotController = BotController.get_instance(), room_state: AbstractRoomState = RoomState.get_instance()): self.__current_track: Optional[dict] = None self.__voter_ids: List[str] = [] self.__ack_word = ack_word self.__bot_controller = bot_controller self.__room_state = room_state
def __init__( self, bot_controller: AbstractBotController = BotController.get_instance()): self.__commands: Dict[str, AbstractCommandProcessor] = { x.keyword: x for x in command_processors } self.__bot_controller = bot_controller
def __init__( self, bot_controller: AbstractBotController = BotController.get_instance(), room_state: AbstractRoomState = RoomState.get_instance(), data_service: AbstractDataService = DataService(), env: AbstractEnvironment = Environment()): self.__bot_controller = bot_controller self.__room_state = room_state self.__data_service = data_service self.__env = env
def __init__( self, bot_controller: AbstractBotController = BotController.get_instance()): self.__bot_controller = bot_controller