芜湖起飞
This commit is contained in:
commit
2b9afaa260
11 changed files with 239 additions and 0 deletions
0
apps/__init__.py
Normal file
0
apps/__init__.py
Normal file
7
apps/riic_report_analysis.py
Normal file
7
apps/riic_report_analysis.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
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("起飞"))
|
7
apps/wuhu_takeoff.py
Normal file
7
apps/wuhu_takeoff.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
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("起飞"))
|
Loading…
Add table
Add a link
Reference in a new issue