wuhu-takeoff/index.js

14 lines
280 B
JavaScript

const { KiviPlugin } = require("@kivibot/core");
const plugin = new KiviPlugin("wuhu-takeoff", "1.0.0");
plugin.onMounted(() => {
plugin.onMessage((event) => {
if (event.raw_message == "芜湖") {
event.reply("起飞");
}
});
});
module.exports = { plugin };