File size: 266 Bytes
dbf8df0
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"""
Auto-replay chat robot abstract class
"""


class Bot(object):
    def reply(self, query, context=None):
        """
        bot auto-reply content
        :param req: received message
        :return: reply content
        """
        raise NotImplementedError