init: build minimum viable version

This commit is contained in:
zhayujie
2022-08-10 00:04:10 +08:00
commit 1ec0a530bf
16 changed files with 161 additions and 0 deletions

13
bot/bot.py Normal file
View File

@@ -0,0 +1,13 @@
"""
Auto-replay chat robot abstract class
"""
class Bot(object):
def reply(self, query):
"""
bot auto-reply content
:param req: received message
:return: reply content
"""
raise NotImplementedError