mirror of
https://github.com/nullnyat/NullcatChan.git
synced 2025-07-02 09:09:59 +09:00
Make async
This commit is contained in:
@ -14,7 +14,7 @@ export default class extends Module {
|
||||
}
|
||||
|
||||
@autobind
|
||||
private mentionHook(msg: Message) {
|
||||
private async mentionHook(msg: Message) {
|
||||
const secondsQuery = (msg.text || '').match(/([0-9]+)秒/);
|
||||
const minutesQuery = (msg.text || '').match(/([0-9]+)分/);
|
||||
const hoursQuery = (msg.text || '').match(/([0-9]+)時間/);
|
||||
|
Reference in New Issue
Block a user