Real grammY structure
Bots are written against grammY the way maintained projects are: a Bot instance, registered command and message handlers, and a middleware chain, so behaviour is predictable in production.
Telegram
Describe the bot you want and Devellix writes it with grammY, wires up the commands and middleware, installs the dependencies, and bundles a runnable build, with the full source in your hands.
A Telegram bot lives or dies on how cleanly it handles updates: commands, message filters, callback queries, and the middleware chain that ties them together. Devellix takes a description and produces a grammY project shaped the way maintained bots are, with the update handlers registered and the Bot API used correctly, not a single loose script.
The dependencies are installed and the project is bundled in the cloud, so what you download starts on your own token instead of erroring on a missing package. grammY handles long polling out of the box, and the complete TypeScript source ships with every build for you to host, switch to webhooks, and extend however you like.
One sentence in, a working project out. This is an actual file from a Devellix build, not a mockup.
A reminder bot: /remind <minutes> <text> that pings me when the time is up
import { Bot } from "grammy";
const bot = new Bot(process.env.BOT_TOKEN as string);
bot.command("remind", async (ctx) => {
const parts = (ctx.match ?? "").trim().split(" ");
const mins = Number(parts[0]);
const text = parts.slice(1).join(" ");
if (!Number.isFinite(mins) || mins <= 0 || !text) {
return ctx.reply("Usage: /remind <minutes> <text>");
}
await ctx.reply("Okay, I will remind you in " + mins + " min.");
setTimeout(() => {
ctx.reply("Reminder: " + text).catch(() => {});
}, mins * 60_000);
});
bot.start();Bots are written against grammY the way maintained projects are: a Bot instance, registered command and message handlers, and a middleware chain, so behaviour is predictable in production.
Describe the commands and flows you want and Devellix defines the handlers, parses the arguments, and wires the replies, following the Bot API's update model.
The dependency tree is installed and the project is bundled in the cloud, so what you download starts on your token instead of erroring on a missing package.
You own the full source. Run it with long polling or switch it to webhooks, host it on any Node platform, and extend it. No proprietary runtime.
Start free with credits on the house. Own everything you generate: source and build.