mirror of
https://github.com/nullnyat/NullcatChan.git
synced 2025-08-04 11:46:25 +09:00
Improve AI
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user