mirror of
https://github.com/syuilo/ai.git
synced 2025-03-25 21:12:56 +00:00
Update[emoji-react]おゲームしましょうね〜
This commit is contained in:
parent
9358a91f50
commit
c6a47b7854
1 changed files with 10 additions and 0 deletions
|
@ -88,5 +88,15 @@ export default class extends Module {
|
||||||
|
|
||||||
if (includes(note.text, ['ずなず']) || includes(note.text, ['ずにゃず'])) return react('🙌');
|
if (includes(note.text, ['ずなず']) || includes(note.text, ['ずにゃず'])) return react('🙌');
|
||||||
if (includes(note.text, ['なず']) || includes(note.text, ['にゃず'])) return react(':google_hart:');
|
if (includes(note.text, ['なず']) || includes(note.text, ['にゃず'])) return react(':google_hart:');
|
||||||
|
|
||||||
|
const gameReact = [
|
||||||
|
':ysvi:',
|
||||||
|
':ysf:',
|
||||||
|
':yso:'
|
||||||
|
]
|
||||||
|
if (includes(note.text, ['おゲームするかしら'])){
|
||||||
|
// gameReactの中からランダムに選択
|
||||||
|
return react(gameReact[Math.floor(Math.random() * gameReact.length)]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue