mirror of
https://github.com/syuilo/ai.git
synced 2025-03-25 21:12:56 +00:00
うんこ撲滅うんちえらい!
This commit is contained in:
parent
80a8b68d8c
commit
e6894bc723
1 changed files with 9 additions and 0 deletions
|
@ -36,6 +36,15 @@ export default class extends Module {
|
|||
});
|
||||
};
|
||||
|
||||
// /う[〜|ー]*んこ/g]にマッチしたときの処理
|
||||
if (note.text.match(/う[〜|ー]*んこ/g)) {
|
||||
await react(':anataima_unkotte_iimashitane:', true);
|
||||
}
|
||||
|
||||
if (note.text.match(/う[〜|ー]*んち/g)) {
|
||||
await react(':erait:', true);
|
||||
}
|
||||
|
||||
if (includes(note.text, ['いい']) && (includes(note.text, ["?"]) || includes(note.text, ["?"]))) {
|
||||
// 50%の確率で":dame:"または":yattare:"を返す
|
||||
if (Math.random() < 0.5) {
|
||||
|
|
Loading…
Reference in a new issue