def _add_response(self, response, weight=<NUM_LIT:1>):
<EOL>if response.priority not in self._responses:<EOL><INDENT>self._responses[response.priority] = [(response, weight)]<EOL>return<EOL><DEDENT>self._responses[response.priority].append((response, weight))<EOL>
Add a new trigger
:param response: The Response object
:type  response: Response or Condition

:param weight: The weight of the response
:type  weight: int