mirror of
https://github.com/nullnyat/NullcatChan.git
synced 2025-04-29 05:17:23 +09:00
Update index.ts
This commit is contained in:
parent
a9f8d9bfb8
commit
d388d0ab8d
@ -124,7 +124,7 @@ export default class EmojiModule implements IModule {
|
||||
public install = (ai: 藍) => { }
|
||||
|
||||
public onMention = (msg: MessageLike) => {
|
||||
if (msg.includes(['絵文字', 'emoji'])) {
|
||||
if (msg.includes(['絵文字', 'emoji', '福笑い'])) {
|
||||
const hand = hands[Math.floor(Math.random() * hands.length)];
|
||||
const face = faces[Math.floor(Math.random() * faces.length)];
|
||||
const emoji = Array.isArray(hand) ? hand[0] + face + hand[1] : hand + face + hand;
|
||||
|
Loading…
x
Reference in New Issue
Block a user