1
0
Fork 0
mirror of https://github.com/kou029w/daraz-san.git synced 2025-01-19 00:18:01 +00:00
daraz-san/scripts/nyanchu.js

11 lines
308 B
JavaScript
Raw Normal View History

const { directMention } = require("@slack/bolt");
module.exports = [
directMention(),
/(ニャンちゅう) +(.*)/,
({ context, say }) => {
2020-04-09 00:16:46 +09:00
const oon = context.matches[2].split("").map((c) => `${c}`);
say(`お゛ぉ゛ん!${oon.join("")}た゛に゛ゃあ゛ん! > :nyanchu:`);
2020-04-09 00:16:46 +09:00
},
];