feat: buddy/input-status

This commit is contained in:
Wesley F. Young 2024-09-02 08:40:41 +08:00
parent 6f9d327c5a
commit bff58f6c20

View File

@ -171,6 +171,10 @@ export class NapCatEventChannel extends
}
};
msgListener.onInputStatusPush = async data => {
this.emit('buddy/input-status', data);
};
this.core.context.session.getMsgService().addKernelMsgListener(
proxiedListenerOf(msgListener, this.core.context.logger) as any,
);