We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ac490f commit 5cc2a1fCopy full SHA for 5cc2a1f
bot.js
@@ -103,8 +103,10 @@ bot.command("track", async (ctx) => {
103
});
104
105
bot.on('::url', async ctx => {
106
- const message = ctx.message.text;
107
- processUrl(message, ctx);
+ if(ctx.chat.type === "private"){
+ const message = ctx.message.text;
108
+ processUrl(message, ctx);
109
+ }
110
111
112
bot.command("list", async (ctx) => {
0 commit comments