Skip to content

Commit

Permalink
STOP THE PTSD!
Browse files Browse the repository at this point in the history
  • Loading branch information
CloudMracek committed Mar 9, 2024
1 parent 74fb541 commit cf09072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tgbot.deno.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ async function processTgUpdate(data: any) {
});
}

if (text.toLowerCase().includes("regiojet")) {
if (text.toLowerCase().includes("regiojet") || text.toLowerCase().includes("php")) {
await fetch(`https://api.telegram.org/bot${token}/deleteMessage`, {
method: "POST",
headers: {
Expand Down

0 comments on commit cf09072

Please sign in to comment.