This commit is contained in:
syuilo
2019-01-15 18:47:22 +09:00
parent cac1badb98
commit 2f916de51c
12 changed files with 83 additions and 81 deletions

View File

@ -1,6 +1,6 @@
import autobind from 'autobind-decorator';
import Module from '../../module';
import MessageLike from '../../message-like';
import Message from '../../message';
import serifs from '../../serifs';
export default class TimerModule extends Module {
@ -14,7 +14,7 @@ export default class TimerModule extends Module {
}
@autobind
private mentionHook(msg: MessageLike) {
private mentionHook(msg: Message) {
const secondsQuery = (msg.text || '').match(/([0-9]+)秒/);
const minutesQuery = (msg.text || '').match(/([0-9]+)分/);
const hoursQuery = (msg.text || '').match(/([0-9]+)時間/);