mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-03-03 17:05:04 +08:00
init: build minimum viable version
This commit is contained in:
13
bot/bot.py
Normal file
13
bot/bot.py
Normal 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
|
||||
Reference in New Issue
Block a user