Make async

This commit is contained in:
syuilo
2019-01-23 21:49:10 +09:00
parent 29eae273e5
commit e88bffa93c
10 changed files with 18 additions and 18 deletions

View File

@ -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]+)時間/);