DEV Community

Cover image for Create a Telegram Bot with node
Patryk Rzucidło
Patryk Rzucidło

Posted on

Create a Telegram Bot with node

🤖 node-telegram-bot-boilerplate

Create your telegram bot with this friendly boilerplate. Use this repository as template for your bot

https://github.com/ptkdev-boilerplate/node-telegram-bot-boilerplate

📎 Menu

💡 Features

  • [✔️] Easy to use
  • [✔️] MIT License
  • [✔️] Make telegram bot with node
  • [✔️] Friendly boilerplate + Github templates
  • [✔️] Typescript + TSPaths preconfigured
  • [✔️] Userfriendly folders tree
  • [✔️] Prettiers and ESLint preconfigured
  • [✔️] all-contributors-cli and all-shields-cli preconfigured
  • [✔️] JEST Test preconfigured
  • [✔️] Full async code
  • [✔️] Github and Vscode dotfiles preconfigured
  • [✔️] Translations: 🇬🇧 🇮🇹 🇵🇱 (Help me ❤️)

🚀 Usage

  1. Clone this repository or download nightly, beta or stable.
  2. Write to @botfather on telegram and create new bot (save token and set bot username)
  3. Run with correct values: npm run init:token --username name_bot --token 1234:asdfghjkl
  4. Run npm run init
  5. Run npm run start-pm2

🔨 Developer Mode

🏁 Run Project

  1. Clone this repository or download nightly, beta or stable.
  2. Write to @botfather on telegram and create new bot (save token and set bot username)
  3. Run with correct values: npm run init:token --username name_bot --token 1234:asdfghjkl
  4. Run npm run init
  5. Run npm run dev

💾 Setup Project

If you want replace all strings (example: package name, author, urls, etc...) in markdown file, source files and others files of this project you need edit setup.json with correct values and run npm run setup.

💫 License

  • Code and Contributions have MIT License
  • Images and logos have CC BY-NC 4.0 License
  • Documentations and Translations have CC BY 4.0 License
Copyleft (c) 2021 Patryk Rzucidło (@PTKDev) <support@ptkdev.io>

Top comments (0)