chat filter
This commit is contained in:
parent
d1d925052d
commit
1793334347
@ -53,7 +53,7 @@ filter.hear(/^(?:пр)\s(1|2|3|4|5|6|7)\s(.*)?$/i, async ctx => {
|
||||
});
|
||||
|
||||
filter.use(async ctx => {
|
||||
await ctx.send('генерирую!!');
|
||||
if (ctx.isChat) return;
|
||||
const result = await balabolaQueue.add(() => balabola(ctx.text!, 6));
|
||||
await ctx.send(result);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user