1 parent
22faefdb96
commit
df2ae54333
10 files changed
+58
-61
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import { Bot } from "grammy";
|
||||
|
||||
const botToken = await Bun.file("/run/secrets/bottoken").text();
|
||||
|
||||
const bot = new Bot(botToken);
|
||||
|
||||
bot.command("start", (ctx) => ctx.reply("Welcome! Up and running."));
|
||||
|
||||
bot.start();
|
||||
Reference in new issue
Block a user