import { Bot } from 'grammy'; import { BotToken } from "../config.js"; const bot = new Bot(BotToken); bot.on("/start", (ctx) => ctx.reply("Hi there!")); function InitBot() { bot.start(); console.log("Starting Bot"); } export { InitBot };