Skip to content

Commit 28a66d7

Browse files
authored
Remove welcome message for new users
Removed welcome message for new users in group chats.
1 parent 5a30a4e commit 28a66d7

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/middlewares/userAuthAndSetupMiddleware.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ export const checkGroupChatMiddleware = async (ctx, next) => {
3434

3535
if (checkGroupChat(ctx) && checkIfNewUser(ctx)) {
3636
const privateChatLink = `https://t.me/${BOT_USERNAME}`;
37-
await ctx.replyWithHTML(
38-
`Welcome! I'm LearnverseBot - if you need study materials, chat with me privately and I'll help you find everything. <a href="${privateChatLink}">Talk to LearnverseBot</a>`
39-
);
4037
return;
4138
}
4239

0 commit comments

Comments
 (0)