mirror of
https://github.com/syuilo/ai.git
synced 2024-11-21 20:58:00 +00:00
Update index.ts
This commit is contained in:
parent
7a74ffbf6e
commit
abe4416dce
|
@ -225,7 +225,7 @@ export default class CoreModule implements IModule {
|
|||
}
|
||||
|
||||
private hug = (msg: MessageLike): boolean => {
|
||||
if (!msg.or(['ぎゅ', /^はぐ(し(て|よ|よう)?)?$/])) return false;
|
||||
if (!msg.or(['ぎゅ', 'むぎゅ', /^はぐ(し(て|よ|よう)?)?$/])) return false;
|
||||
|
||||
// メッセージのみ
|
||||
if (!msg.isMessage) return true;
|
||||
|
|
Loading…
Reference in a new issue