Skip to content
This repository has been archived by the owner on Apr 3, 2022. It is now read-only.
/ GramUS Public archive

An extensible and minimal Telegram userbot made with GramJS.

License

Notifications You must be signed in to change notification settings

GramUS/GramUS

Repository files navigation

GramUS

An extensible and minimal Telegram userbot powered by GramJS.

GitHub package.json version GitHub repo size GitHub GitHub issues GitHub pull requests

Modules · Wiki · Deploy to Heroku

DEPRECATION NOTICE

This project is no longer maintained. You might like Xor.

Features

  • Doesn't require you a lot of resources to run it.
  • Lets you install custom modules.
  • Logs errors in a chat.
  • Minimalist design.

Configuring

Required variables

  • API_ID: Telegram app ID
  • API_HASH: Telegram app hash
  • STRING_SESSION: GramJS string session
  • LOG_CHAT_ID: Log chat ID
  • DB_URI: MongoDB URI

Optional variables

  • DB_NAME: Database name, this is usually set when using MongoDB Atlas. Default is gramus.
  • COMMAND_PREFIXES: List of characters separated by whitespace to use as command prefixes. Default is . ;.
  • LOG_LEVEL: GramJS log level. Default is none.
  • CONNECTION_RETRIES: GramJS client connection retries. Default is 10.

Deploying

Heroku

Deploy to Heroku

On a server

  1. Install:
npm install
  1. Build:
npm run build
  1. Start:
npm start

License

Credits