Skip to content

swijenk/Powerful-Autofilter-Bot-Switch-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Powerful-Autofilter-Bot-Switch-

Required Variables

BOT_TOKEN: The bot token CHANNELS: Username or ID of channel or group. Separate multiple IDs by space ADMINS: Username or ID of Admin. Separate multiple Admins by space DATABASE_URI: mongoDB URI. Get this value from mongoDB. For more help watch this video DATABASE_NAME: Name of the database in mongoDB. For more help watch this video

The easiest way to define those variables is creating a .env file in the root directory of the project and defining those variables in it. For example:

BOT_TOKEN = 1234567890:ABCDEFabcdef1234567890abcdefABCDEF
CHANNELS = FASDFADSF ASDFASDF ADFADSFADF
ADMINS = 123456789 987654321
DATABASE_URI = mongodb+srv://username:
DATABASE_NAME = autofilter

Create the bot and send /help to it. It will reply with the list of commands.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages