UNPKG

create-elysiajs

Version:

Scaffolding your Elysia project with the environment with easy!

16 lines (14 loc) 591 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.getBotFile = getBotFile; const ts_dedent_1 = __importDefault(require("ts-dedent")); function getBotFile() { return (0, ts_dedent_1.default /* ts */) ` import { Bot } from "gramio"; import { config } from "./config.ts"; export const bot = new Bot(config.BOT_TOKEN) .onStart(({ info }) => console.log(\`✨ Bot \${info.username} was started!\`))`; }