pepperbot/apps/riic_report_analysis.py

8 lines
237 B
Python
Raw Normal View History

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