This is bot powered by grammy
and prisma
. It also contains preconfigured logger pino
and a bunch of helpful
middlewares for grammy
. Bot supports multiple languages to respond to users.
You can add a text / picture joke with /addjoke
command and get a random joke with /joke
command.
- Download source code
- Rename
.env.example
to.env
. - Paste your
Telegram bot token
toBOT_TOKEN
anddatabase url
toDATABASE_URL
. - Install
node_modules
with commandnpm i
oryarn install
. - Build project with command
npm run build
oryarn build
. - Start project with command
npm start
oryarn start
.