forked from MrMKN/PROFESSOR-BOT
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
1,506 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM python:3.10 | ||
|
||
RUN apt update && apt upgrade -y | ||
RUN apt install git -y | ||
COPY requirements.txt /requirements.txt | ||
|
||
RUN cd / | ||
RUN pip install -U pip && pip install -U -r requirements.txt | ||
WORKDIR /app | ||
|
||
COPY . . | ||
|
||
CMD ["python", "bot.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,97 @@ | ||
# 🔄 Repo Updating...... | ||
</p> | ||
<p align="center"> | ||
<img src="https://telegra.ph/file/cf1a9362643ec3375589d.jpg" alt="MKN BOTZ LOGO"> | ||
</p> | ||
<h1 align="center"> | ||
<b> 𝐏𝐑𝐎𝐅𝐄𝐒𝐒𝐎𝐑 𝐁𝐎𝐓</b> | ||
</h1> | ||
|
||
[](https://github.com/MrMKN/PROFESSOR-BOT/stargazers) | ||
[](https://github.com/MrMKN/PROFESSOR-BOT/fork) | ||
[](https://github.com/MrMKN/PROFESSOR-BOT) | ||
[](https://github.com/MrMKN/PROFESSOR-BOT) | ||
[](https://github.com/MrMKN/PROFESSOR-BOT/graphs/contributors) | ||
[](https://github.com/MrMKN/PROFESSOR-BOT/blob/main/LICENSE) | ||
[](https://stars.medv.io/EvamariaTG/EvaMaria) | ||
|
||
|
||
|
||
## Features | ||
|
||
- [x] Auto Filter | ||
- [x] Manual Filter | ||
- [x] IMDB | ||
- [x] Admin Commands | ||
- [x] Broadcast | ||
- [x] Index | ||
- [x] IMDB search | ||
- [x] Inline Search | ||
- [x] Random pics | ||
- [x] ids and User info | ||
- [x] Stats, Users, Chats, Ban, Unban, Leave, Disable, Channel | ||
- [x] Spelling Check Feature | ||
- [x] Custom File Caption | ||
|
||
### Required Variables | ||
* `BOT_TOKEN`: Create a bot using [@BotFather](https://telegram.dog/BotFather), and get the Telegram API token. | ||
* `API_ID`: Get this value from [telegram.org](https://my.telegram.org/apps) | ||
* `API_HASH`: Get this value from [telegram.org](https://my.telegram.org/apps) | ||
* `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](https://www.mongodb.com) URI. Get this value from [mongoDB](https://www.mongodb.com). For more help watch this [video](https://youtu.be/1G1XwEOnxxo) | ||
* `DATABASE_NAME`: Name of the database in [mongoDB](https://www.mongodb.com). For more help watch this [video](https://youtu.be/1G1XwEOnxxo) | ||
* `LOG_CHANNEL` : A channel to log the activities of bot. Make sure bot is an admin in the channel. | ||
* `Support Chat` : Username of a Support Group / ADMIN. ( Should be username without @ and not ID | ||
### Optional Variables | ||
* `PICS`: Telegraph links of images to show in start message.( Multiple images can be used seperated by space ) | ||
* `USE_CAPTION_FILTER` : Whether bot should use captions to improve search results. (True False) | ||
* `CUSTOM_FILE_CAPTION` : A custom file caption for your files. formatable with , file_name, file_caption, file_size, Read Readme.md for better understanding | ||
* `CACHE_TIME` : The maximum amount of time in seconds that the result of the inline query may be cached on the server | ||
* `IMDB` : Imdb, the view of information when making True/False | ||
* `SINGLE_BUTTON` : choose b/w single or double buttons | ||
* `P_TTI_SHOW_OFF` : Customize Result Buttons to Callback or Url by (True = url / False = callback) | ||
|
||
|
||
## Deploy | ||
|
||
[](https://heroku.com/deploy?template=https://github.com/MrMKN/Professor-bot) | ||
|
||
## Commands | ||
``` | ||
start - check bot alive | ||
ping - pong | ||
settings - get settings | ||
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_user - to ban a user. | ||
unban_user - to unban a user. | ||
channel - to get list of total connected channels | ||
broadcast - to broadcast a message to all Eva Maria users | ||
``` | ||
|
||
## TELAGRAM SUPPORT | ||
|
||
* [](https://t.me/mkn_bots_updates) | ||
|
||
## Disclaimer | ||
[](https://www.gnu.org/licenses/agpl-3.0.en.html#header) | ||
Licensed under [GNU AGPL 2.0.](https://github.com/EvamariaTG/evamaria/blob/master/LICENSE) | ||
Selling The Codes To Other People For Money Is *Strictly Prohibited*. | ||
|
Oops, something went wrong.