pepperbot/apps/wuhu_takeoff.py

8 lines
230 B
Python
Raw Permalink Normal View History

2023-08-13 18:31:28 +08:00
from pepperbot.core.message.chain import MessageChain, Text
class WuHuTakeoff:
async def group_message(self, chain: MessageChain):
if chain.pure_text == "芜湖":
await chain.onebot_reply(Text("起飞"))