Initial commit

This commit is contained in:
2023-09-08 22:09:35 +03:00
commit 2a6488488e
20 changed files with 2581 additions and 0 deletions

11
src/handlers/welcome.ts Normal file
View File

@ -0,0 +1,11 @@
import { Context } from "#root/context.js";
import { Composer } from "grammy";
const composer = new Composer<Context>();
const feature = composer.chatType("private");
feature.command("start", (ctx) => {
return ctx.reply("Welcome user!");
});
export { composer as welcomeFeature };