Skip to content

Commit bb1e1e9

Browse files
committed
chore: Fix typo in unblock response
1 parent 5544131 commit bb1e1e9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/bot/handlers/chatMemeber.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { joinWithNewlines, formatCommand } from "../../utils/formatting.js";
77
import { fmt } from "@grammyjs/parse-mode";
88
import { emoji } from "@grammyjs/emoji";
99
import logger from "../../utils/logger.js";
10-
import { helpCommand } from "../composers/core/composer.js";
10+
import { announcementsSubscribeCommand } from "../composers/announcementSubscriptions/composer.js";
1111

1212
export const chatMemeberHandler = async (
1313
ctx: Filter<BotContext, "my_chat_member">
@@ -33,8 +33,9 @@ export const chatMemeberHandler = async (
3333
}
3434

3535
const messages = [
36-
fmt`Welcome back! It looks like you previously blocked this bot ${emoji("smiling_face_with_tear")}, so your old subscriptions have been cleared for privacy reasons.`,
37-
fmt`You can easily resubscribe using ${formatCommand(helpCommand)}. Thank you for giving me another chance! ${emoji("raising_hands")}`,
36+
fmt`Welcome back! It looks like you had previously blocked this bot ${emoji("smiling_face_with_tear")}, so your old subscriptions have been cleared for privacy reasons.`,
37+
fmt`You can easily resubscribe using ${formatCommand(announcementsSubscribeCommand)}`,
38+
fmt`Thank you for giving me another chance! ${emoji("raising_hands")}`,
3839
];
3940

4041
const formattedReply = joinWithNewlines(messages, 2);

0 commit comments

Comments
 (0)