BotFather 검색 후 채팅 -> /newbot 클릭해서 봇 및 토큰 생성 const bot = new Bot("7711655802:AAEUNUNIrCl0M_kqvTFZggrnT1ykLTtIaOs"); // <-- put your bot token between the "" (https://t.me/BotFather) // Reply to any message with "Hi there!". // bot.on("message", (ctx) => ctx.reply("Hi there!")); const text = `Welcome to Blum! 🎉🎉🎉 At Blum, we are building a decentralized exchange in Telegram, specializing in trading memecoins and new tokens. We feature a unique memepad for launching new meme-based projects and incorporate gamified mechanics to enhance user engagement. Here’s what you can do with Blum now: 💯 Farm Blum Points: Play our Drop game to earn Blum Points (BPs) 🧑 Invite Friends: Bring your friends and family for more BPs! More friends = more BPs 🥊 Complete Quests: Finish tasks to rack up even more BPs! Start farming points now, and who knows what cool stuff you'll snag with them soon! 🚀 Stay Blum! 🌟`;"> BotFather 검색 후 채팅 -> /newbot 클릭해서 봇 및 토큰 생성 const bot = new Bot("7711655802:AAEUNUNIrCl0M_kqvTFZggrnT1ykLTtIaOs"); // <-- put your bot token between the "" (https://t.me/BotFather) // Reply to any message with "Hi there!". // bot.on("message", (ctx) => ctx.reply("Hi there!")); const text = `Welcome to Blum! 🎉🎉🎉 At Blum, we are building a decentralized exchange in Telegram, specializing in trading memecoins and new tokens. We feature a unique memepad for launching new meme-based projects and incorporate gamified mechanics to enhance user engagement. Here’s what you can do with Blum now: 💯 Farm Blum Points: Play our Drop game to earn Blum Points (BPs) 🧑 Invite Friends: Bring your friends and family for more BPs! More friends = more BPs 🥊 Complete Quests: Finish tasks to rack up even more BPs! Start farming points now, and who knows what cool stuff you'll snag with them soon! 🚀 Stay Blum! 🌟`;"> BotFather 검색 후 채팅 -> /newbot 클릭해서 봇 및 토큰 생성 const bot = new Bot("7711655802:AAEUNUNIrCl0M_kqvTFZggrnT1ykLTtIaOs"); // <-- put your bot token between the "" (https://t.me/BotFather) // Reply to any message with "Hi there!". // bot.on("message", (ctx) => ctx.reply("Hi there!")); const text = `Welcome to Blum! 🎉🎉🎉 At Blum, we are building a decentralized exchange in Telegram, specializing in trading memecoins and new tokens. We feature a unique memepad for launching new meme-based projects and incorporate gamified mechanics to enhance user engagement. Here’s what you can do with Blum now: 💯 Farm Blum Points: Play our Drop game to earn Blum Points (BPs) 🧑 Invite Friends: Bring your friends and family for more BPs! More friends = more BPs 🥊 Complete Quests: Finish tasks to rack up even more BPs! Start farming points now, and who knows what cool stuff you'll snag with them soon! 🚀 Stay Blum! 🌟`;">
import { Bot, InlineKeyboard } from "grammy";
//Telegram 접속 -> BotFather 검색 후 채팅 -> /newbot 클릭해서 봇 및 토큰 생성
const bot = new Bot("7711655802:AAEUNUNIrCl0M_kqvTFZggrnT1ykLTtIaOs"); // <-- put your bot token between the "" (<https://t.me/BotFather>)
// Reply to any message with "Hi there!".
// bot.on("message", (ctx) => ctx.reply("Hi there!"));
const text = `Welcome to Blum! 🎉🎉🎉
At Blum, we are building a decentralized exchange in Telegram, specializing in trading memecoins and new tokens. We feature a unique memepad for launching new meme-based projects and incorporate gamified mechanics to enhance user engagement.
Here’s what you can do with Blum now:
💯 Farm Blum Points: Play our Drop game to earn Blum Points (BPs)
🧑 Invite Friends: Bring your friends and family for more BPs! More friends = more BPs
🥊 Complete Quests: Finish tasks to rack up even more BPs!
Start farming points now, and who knows what cool stuff you'll snag with them soon! 🚀
Stay Blum! 🌟`;
const keyboard = new InlineKeyboard()
.url("1", "<https://t.me/+sjt3Tiu5XwIxZGVl>")
.row()
.webApp("2", "<https://naver.com>");
//command는 "message"라고 입력해야 반응을 한다.
bot.command("start", (ctx) =>
ctx.reply(text, {
reply_markup: keyboard,
})
);
bot.start();