Skip to content

ThePythoniousGuy/Telegram-JavaScript-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram-JavaScript-Bot

This repository is a template for creating a Telegram bot in JavaScript. It uses grammY

Features:

  • Categories for commands
  • Command handler (add commands in commands)
  • Error handler
  • Command aliases (check 8ball command, can add multiple aliases)

Commands

  • /start - Start the bot

Categories

Utilities

  • /help - Show help

Fun

  • /8ball - Ask the magic 8-ball a question

Environment Variables

  • BOT_TOKEN - Telegram bot token, get it from @BotFather

Deploying

Deploy on Railway

OR

  • Clone this repository
  • Install dependencies: yarn
  • Start the bot: yarn start

License

Telegram-JavaScript-Bot is licensed under the MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •