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("起飞"))