|
@@ -30,7 +30,7 @@ function parseCmd(message: string): {
|
|
|
|
|
|
function view(_chat: IChat, args: string[], reply: (msg: string) => any): void {
|
|
|
if (!Number.isInteger(Number(args[0]))) return reply('查询格式有误。格式:/nanatsuu_view〈整数〉');
|
|
|
- queryByRegExp('t7s_staff', /今週の『それゆけ!ナナスタ☆通信』第(\d+)話はこちら!/, 3600 * 24 * 6)
|
|
|
+ queryByRegExp('t7s_staff', /今週の『それゆけ!ナナスタ☆通信』第(\d+)話はこちら!/, 360)
|
|
|
.then(match => {
|
|
|
if (!match) throw Error();
|
|
|
let query = Number(args[0] || Number(match[1]));
|