Skip to content

Commit 0d9e000

Browse files
committed
1000000
1 parent 0d9e000 commit 0d9e000

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tgbot.deno.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,17 @@ async function* handleTgUpdate(data: any) {
385385
});
386386
}
387387

388+
if (
389+
data.message.chat.id === MAIN_CHAT_ID &&
390+
!(data.message.message_id % 1000000)
391+
) {
392+
yield await tgCall({
393+
chat_id: data.message.chat.id,
394+
reply_to_message_id: data.message.message_id,
395+
text: "wow, great message. honestly. one in a million.",
396+
});
397+
}
398+
388399
if (text.toLowerCase().includes("balls")) {
389400
yield await tgCall(
390401
{

0 commit comments

Comments
 (0)