royrajan95 / JNS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JNS_FC_BOT

Features

  • Auto Filter
  • Manual Filter
  • IMDB
  • Admin Commands
  • Broadcast
  • Index
  • IMDB search
  • Pm File search
  • Inline Search
  • ids and User info
  • Stats, Users, Chats, Ban, Unban, Leave, Disable, Channel
  • Spelling Check Feature
  • File Store
  • Carbon
  • TTS
  • Redirect Chat
  • Totally Customisable Bot
  • delete all messages
  • stickers used in all COMMANDS

๐™๐™ƒ๐™€๐™๐™€ ๐™Ž๐™Š๐™ˆ๐™€ ๐˜ฝ๐™๐™‚๐™Ž , ๐™๐™Š๐™๐™† ๐˜ผ๐™‰๐˜ฟ ๐˜ฟ๐™€๐™‹๐™‡๐™Š๐™” ๐™๐™Š๐™ ๐™‰๐™Š๐™’. ๐™’๐™„๐™‡๐™‡ ๐˜ฝ๐™€ ๐™๐™„๐™“๐™€๐˜ฟ ๐Ÿคง

Required Variables

  • BOT_TOKEN: Create a bot using @BotFather, and get the Telegram API token.
  • API_ID: Get this value from telegram.org
  • API_HASH: Get this value from telegram.org
  • 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.
  • DATABASE_NAME: Name of the database in mongoDB.
  • DELETE_TIME : Autodelete Time in seconds
  • LOG_CHANNEL : A channel to log the activities of bot. Make sure bot is an admin in the channel.
  • AUTH_CHANNEL : Custom Fsub Channel , Redirect Channel Too

Optional Variables

  • PICS: Telegraph link of image to show in start message.( Multiple images can't be used )
  • REDIRECT_TO : Redirect Var Set value 0 if Redirect not required
  • FILE_STORE_CHANNEL: Channel from were file store links of posts should be made.Separate multiple IDs by space
  • Check info.py in this code for more variables

Deploy on Heroku

don't forget to add upstream repo as ur forked link to get changes in ur repo

Deploy To VPS

git clone https://github.com/JNSBOT/JNS_FC_BOT
# Install Packages
pip3 install -U -r requirements.txt
Edit info.py with variables as given below then run bot
python3 bot.py

๐™๐™Š๐™๐™† ๐˜ผ๐™‰๐˜ฟ ๐™‚๐™„๐˜ฝ ๐™Ž๐™Š๐™ˆ๐™€ ๐™Ž๐™๐˜ผ๐™๐™Ž ๐Ÿ˜๐Ÿ˜Š

Commands

โ€ข /logs - to get the rescent errors
โ€ข /stats - to get status of files in db.
* /filter - add manual filters
* /filters - view filters
* /connect - connect to PM.
* /disconnect - disconnect from PM
* /del - delete a filter
* /delall - delete all filters
* /deleteall - delete all index(autofilter)
* /delete - delete a specific file from index.
* /info - get user info
* /id - get tg ids.
* /imdb - fetch info from imdb.
โ€ข /users - to get list of my users and ids.
โ€ข /chats - to get list of the my chats and ids 
โ€ข /index  - to add files from a channel
โ€ข /leave  - to leave from a chat.
โ€ข /disable  -  do disable a chat.
* /enable - re-enable chat.
โ€ข /ban  - to ban a user.
* /carbon - create carbon
* /settings - customise chat settings
* /tts - text to speech
* /short - link shorter
โ€ข /unban  - to unban a user.
โ€ข /channel - to get list of total connected channels
โ€ข /broadcast - to broadcast a message to all Eva Maria users
โ€ข /batch - to create link for multiple posts
โ€ข /link - to create link for one post
โ€ข /invite - to get bot working group links

Support

JNS BOTS

Bot

JNS_FC_BOT

Thanks to

Note

๐˜Š๐˜ณ๐˜ฆ๐˜ข๐˜ต๐˜ฐ๐˜ณ

Kanging this codes and and editing a few lines and releasing a V.x or an alpha, beta , gama branches of your repo won't make you a Developer. Fork the repo and edit as per your needs. ๐˜›๐˜ฉ๐˜ฆ๐˜ด๐˜ฆ ๐˜ข๐˜ณ๐˜ฆ ๐˜ญ๐˜ช๐˜ฏ๐˜ฆ๐˜ด ๐˜ง๐˜ณ๐˜ฐ๐˜ฎ ๐˜ฆ๐˜ท๐˜ข ๐˜ฅ๐˜ฆ๐˜ท๐˜ด , ๐˜ช๐˜ต๐˜ด ๐˜ณ๐˜ช๐˜จ๐˜ฉ๐˜ต ๐˜ข๐˜ฃ๐˜ฐ๐˜ถ๐˜ต ๐˜ฎ๐˜ฆ .

Disclaimer

GNU Affero General Public License 2.0
Licensed under GNU AGPL 2.0. Selling The Codes To Other People For Money Is Strictly Prohibited.

๐™๐™๐™„๐˜ฝ๐™๐™๐™€ ๐™๐™Š

๐˜๐˜ฐ๐˜ณ ๐˜›๐˜ฉ๐˜ฐ๐˜ด๐˜ฆ ๐˜จ๐˜ถ๐˜บ๐˜ด ๐˜ด๐˜ต๐˜ฐ๐˜ญ๐˜ฆ ๐˜ค๐˜ฐ๐˜ฅ๐˜ฆ๐˜ด ๐Ÿฅฒ๐Ÿคง

About

License:GNU General Public License v2.0


Languages

Language:Python 99.7%Language:Shell 0.2%Language:Dockerfile 0.1%