Skip to content

Latest commit

 

History

History
53 lines (32 loc) · 1.11 KB

README.md

File metadata and controls

53 lines (32 loc) · 1.11 KB

@Koboldie

NodeJS and telegraf based telegram bot. You can test it here

Features

  • Easy add command system with dynamic /help and popup suggestions list
  • Easy to create any button menu
  • Cached access to the database, which speeds up the process several times.

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

TOKEN Telegram bot token. You can get your own in @BotFather

DB_TOKEN Read more here

ownerID Your telegram id

logID Id of chat where you wanna see logs ("user used a command", etc) and error messages

whereImRunning Optional. Will shown when users uses /version command

Run Locally

Clone the project

  git clone https://github.com/xiller228/telegram-bot

Go to the project directory

  cd telegram-bot

Install dependencies

  npm install

Start the server

  node .

License

MIT