Skip to content

Commit

Permalink
telegram bot, 1942 edition
Browse files Browse the repository at this point in the history
  • Loading branch information
CloudMracek committed May 17, 2024
1 parent 3bd326b commit 0aa0a74
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tgbot.deno.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,15 @@ async function processTgUpdate(data: any) {
});
}

if (
text.toLowerCase().includes("zig")
) {
await tgCall({
chat_id: data.message.chat.id,
text: `Hail!`,
});
}

if (
text.toLowerCase().includes("gnu") &&
text.toLowerCase().includes("linux")
Expand Down

0 comments on commit 0aa0a74

Please sign in to comment.