Skip to content

Commit

Permalink
Added buy link
Browse files Browse the repository at this point in the history
  • Loading branch information
Maaago committed Nov 15, 2024
1 parent e159f5d commit 626a4c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/App.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default class App
.then(({ name, available }) =>
{
if(available)
this.telegram.sendMessage("Good news! Kimsufi's product "+name+" is available right now!");
this.telegram.sendMessage("Good news! Kimsufi's product "+name+" is available right now! [https://eco.ovhcloud.com/en/kimsufi/ks-a/](Click here) to buy it");
else
console.log("So am I still waiting...");
})
Expand Down
2 changes: 1 addition & 1 deletion src/Telegram.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default class Telegram
sendMessage(message: string): void
{
if(this.telegramBot)
this.telegramBot.sendMessage(Bun.env.TELEGRAM_CHAT_ID!, message)
this.telegramBot.sendMessage(Bun.env.TELEGRAM_CHAT_ID!, message, { parse_mode: "MarkdownV2" })
.catch((e: any) => console.error("Can't send message: "+e.message));
}
}

0 comments on commit 626a4c7

Please sign in to comment.