diff --git a/source/index.ts b/source/index.ts index 772a93a4ac0..60f229b3887 100644 --- a/source/index.ts +++ b/source/index.ts @@ -216,7 +216,7 @@ bot.action( bot.action( /^RSS_(RAW_)*(\d+)/, sendError, - onlyPrivateChat, + isAdmin, async (ctx: MContext, next) => { const cb = ctx.callbackQuery; const splitedStr = cb.data.split('_');