mirror of
https://github.com/syuilo/ai.git
synced 2025-03-25 21:12:56 +00:00
index.ts
This commit is contained in:
parent
817f511df4
commit
2aa0efdf26
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ export default class extends Module {
|
||||||
|
|
||||||
@bindThis
|
@bindThis
|
||||||
private async mentionHook(msg: Message) {
|
private async mentionHook(msg: Message) {
|
||||||
if (msg.includes(['顔文字', '絵文字', 'emoji', '福笑い'])) {
|
if (msg.includes(['Emoticons', 'Emoji', 'emoji', 'Fukuwarai'])) {
|
||||||
const hand = hands[Math.floor(Math.random() * hands.length)];
|
const hand = hands[Math.floor(Math.random() * hands.length)];
|
||||||
const face = faces[Math.floor(Math.random() * faces.length)];
|
const face = faces[Math.floor(Math.random() * faces.length)];
|
||||||
const emoji = Array.isArray(hand) ? hand[0] + face + hand[1] : hand + face + hand;
|
const emoji = Array.isArray(hand) ? hand[0] + face + hand[1] : hand + face + hand;
|
||||||
|
|
Loading…
Reference in a new issue