1
0
Fork 0
mirror of https://github.com/kou029w/daraz-san.git synced 2025-01-18 16:08:06 +00:00
daraz-san/scripts/nyanchu.js
2020-04-09 00:24:48 +09:00

10 lines
315 B
JavaScript

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