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