Esempio n. 1
0
 def set_action(self, choice: ActionChoice):
     self.script.process_choice(choice.action)
     return ApiResponse(200, f"I choose {choice.action.description}")
Esempio n. 2
0
 def set_action(self, choice: ActionChoice):
     self.script.process_choice(choice.action)
     return ApiResponse(200, f"The botherer shall {choice.action.description}")
Esempio n. 3
0
 def set_action(self, choice: ActionChoice):
     self.current_action = choice.action
     return ApiResponse(200, f"Action bot shall {self.current_action.description}")