Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Sayolight/SupportBot

Open more actions menu

Repository files navigation

💭 SupportBot

Apache License 2.0 Telegram Node.js TypeScript MySQL

A simple Telegram bot designed to assist with support-related tasks.

🚀 Running

  1. Copy example.env to .env and fill it with your data.
  2. Install dependencies:
npm install
  1. Start:
npm run bot

⚒ Configuring

  • BOT_TOKEN Telegram bot token
  • SUPPORT_CHAT_ID Chat ID for directing support messages
  • LOGGING_LEVEL Options: debug / info
  • MYSQL_HOST Your db hostname or ip
  • MYSQL_DATABASE Your db name
  • MYSQL_USERNAME Your db username
  • MYSQL_PASSWORD Your db user password
  • MYSQL_ROOT_PASSWORD Your db root password

📄 Commands

  • start - start command ¯\_(ツ)_/¯
  • ban - add user to blacklist
  • pardon - remove user from blacklist
Example bot: @SayoSupportBot

About

A simple tg support bot

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.