You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
252B

  1. """
  2. Auto-replay chat robot abstract class
  3. """
  4. class Bot(object):
  5. def reply(self, query):
  6. """
  7. bot auto-reply content
  8. :param req: received message
  9. :return: reply content
  10. """
  11. raise NotImplementedError