Repository files navigation
Node.js (v12.x or later is recommended) with npm (latest version recommended)
MongoDB server
Telegram Bot API token from BotFather
Log channel (optional)
Clone the Git repository to your machine then install dependencies.
Edit the .env.sample file and save it as .env.
Make a admins.json file with an array of Telegram user IDs of admins you want to use admin-only commands.
Finally, fire up the console and type npm start to hit the road.
Command
Permissions
Description
/clean
Admins
Cleans up the clutter collected from database.
/gban <userid/reply> <reason>
Admins
Globally bans a user with a valid reason.
/ungban <userid/reply> <reason>
Admins
Globally unbans a user.
/stats
Admins
Pull global stats from bot database.
/stat <userid/reply>
Everyone
Pull stats for a user from bot database.
/start
Everyone
Checks if the bot is dead.
About
Resources
License
Stars
Watchers
Forks
You can’t perform that action at this time.