https://github.com/noob-mukesh/mukeshrobot
An open source telegram group management and ai bot written in python with the help of python-telegram-bot, telethon and pyrogram using sqlalchemy and mongodb as database.
https://github.com/noob-mukesh/mukeshrobot
ai ai-image-generation chatgpt group-management group-management-bot mukesh mukesh-robot mukeshapi mukeshrobot open-source python-telegram-bot python3 telegram-bot
Last synced: 4 months ago
JSON representation
An open source telegram group management and ai bot written in python with the help of python-telegram-bot, telethon and pyrogram using sqlalchemy and mongodb as database.
- Host: GitHub
- URL: https://github.com/noob-mukesh/mukeshrobot
- Owner: Noob-mukesh
- License: mit
- Created: 2022-07-21T06:56:55.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-08-24T06:49:41.000Z (9 months ago)
- Last Synced: 2025-08-24T13:51:27.534Z (9 months ago)
- Topics: ai, ai-image-generation, chatgpt, group-management, group-management-bot, mukesh, mukesh-robot, mukeshapi, mukeshrobot, open-source, python-telegram-bot, python3, telegram-bot
- Language: Python
- Homepage: https://github.com/Noob-mukesh/MukeshRobot
- Size: 4.13 MB
- Stars: 99
- Watchers: 2
- Forks: 360
- Open Issues: 0
-
Metadata Files:
- Readme: .github/README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
ᴍᴜᴋᴇsʜ ʀᴏʙᴏᴛ
━━━━━━━━━━━━━━━━━━━━
ɢʀᴏᴜᴘ ᴄᴏɴᴛʀᴏʟʟᴇʀ
ɪ ᴀᴍ ᴀᴠᴀɪʟᴀʙʟᴇ ᴏɴ ᴛᴇʟᴇɢʀᴀᴍ ᴀs ɢʀᴏᴜᴘ ᴄᴏɴᴛʀᴏʟʟᴇʀ ʀᴏʙᴏᴛ
ᴛʜɪs ɪs ᴀ ᴅᴇᴍᴏ ʙᴏᴛ
ɪ ᴅᴏɴ'ᴛ ᴋɴᴏᴡ нσω ʟᴏɴɢᴇʀ ɪ'ʟʟ вε ʜᴏsᴛɪɴɢ ɪᴛ...
━━━━━━━━━━━━━━━━━━━━━━
ʀᴇǫᴜɪʀᴇᴍᴇɴᴛs
ᴘʏᴛʜᴏɴ 3.11.5 |
ᴛᴇʟᴇɢʀᴀᴍ ᴀᴘɪ ᴋᴇʏ |
ᴛᴇʟᴇɢʀᴀᴍ ʙᴏᴛ ᴛᴏᴋᴇɴ |
ᴍᴏɴɢᴏᴅʙ ᴜʀɪ
━━━━━━━━━━━━━━━━━━━━
ᴅᴇᴘʟᴏʏ ᴏɴ ʜᴇʀᴏᴋᴜ 🚀
ᴛʜᴇ ᴇᴀsɪᴇsᴛ ᴡᴀʏ ᴛᴏ ᴅᴇᴘʟᴏʏ ɢʀᴏᴜᴘ ᴄᴏɴᴛʀᴏʟʟᴇʀ
━━━━━━━━━━━━━━━━━━━━━━
ʜᴏᴡ ᴛᴏ ᴍᴀᴋᴇ ʏᴏᴜʀ ᴏᴡɴ ɢʀᴏᴜᴘ ᴍᴀɴᴀɢᴇᴍᴇɴᴛ ʙᴏᴛ?
━━━━━━━━━━━━━━━━━━━━
─「 ᴅᴇᴩʟᴏʏ ᴏɴ ᴠᴘs/ʟᴏᴄᴀʟ 」─
- ᴠᴘs/ʟᴏᴄᴀʟ ᴅᴇᴘʟᴏʏᴍᴇɴᴛ ᴍᴇᴛʜᴏᴅ
- Get your [Necessary Variables](https://github.com/Noob-Mukesh/MukeshRobot/blob/main/MukeshRobot/config.py)
- Upgrade and Update by :
`sudo apt-get update && sudo apt-get upgrade -y`
- Install required packages by :
`sudo apt-get install python3-pip -y`
- Install pip by :
`sudo pip3 install -U pip`
- Clone the repository by :
`git clone https://github.com/Noob-Mukesh/MukeshRobot && cd MukeshRobot`
- Install/Upgrade setuptools by :
`pip3 install --upgrade pip setuptools`
- Install requirements by :
`pip3 install -U -r requirements.txt`
- Fill your variables in config by :
`vi MukeshRobot/config.py`
Press `I` on the keyboard for editing config
Press `Ctrl+C` when you're done with editing config and `:wq` to save the config
- Install tmux to keep running your bot when you close the terminal by :
`sudo apt install tmux && tmux`
- Finally run the bot by :
`python3 -m MukeshRobot`
- For getting out from tmux session
Press `Ctrl+b` and then `d`
━━━━━━━━━━━━━━━━━━━━
ᴡʀɪᴛᴇ ɴᴇᴡ ᴍᴏᴅᴜʟᴇs
```py
#ᴀᴅᴅ ʟɪᴄᴇɴsᴇ ᴛᴇxᴛ ʜᴇʀᴇ ɢᴇᴛ ɪᴛ ғʀᴏᴍ ʙᴇʟᴏᴡ.
from MukeshRobot import pbot as mukesh # This is bot's client
from pyrogram import filters # pyrogram filters
#ғᴏʀ /help ᴍᴇɴᴜ
__mod_name__ = "Module Name"
__help__ = "Module help message"
@mukesh.on_message(filters.command("start"))
async def some_function(_, message):
await message.reply_text("ɪ'ᴍ.ᴀʟɪᴠᴇ ʙᴀʙʏ❣️!!")
# ᴍᴀɴʏ ᴜsᴇғᴜʟ ғᴜɴᴄᴛɪᴏɴs ᴀʀᴇ ɪɴ, MukeshRobot/utils/,MukeshRobot, and MukeshRobot/modules/
```
ᴀɴᴅ ᴘᴜᴛ ᴛʜɪs ғɪʟᴇ ɪɴ MukeshRobot/modules/, ʀᴇsᴛᴀʀᴛ ᴀɴᴅ ᴛᴇsᴛ ʏᴏᴜʀ ʙᴏᴛ.
━━━━━━━━━━━━━━━━━━━━
─「 sᴜᴩᴩᴏʀᴛ 」─
━━━━━━━━━━━━━━━━━━━━
### ㅤㅤㅤㅤᴄʀᴇᴅɪᴛs
[ ᴍᴜᴋᴇsʜ ](https://t.me/legend_coder)
[ᴀɴᴏɴʏᴍᴏᴜs](https://telegram.me/anonymous_was_bot)
ᴀɴᴅ ᴀʟʟ [ᴛʜᴇ ᴄᴏɴᴛʀɪʙᴜᴛᴏʀs](https://github.com/Noob-Mukesh/MukeshRobot/graphs/contributors) ᴡʜᴏ ʜᴇʟᴩᴇᴅ ɪɴ ᴍᴀᴋɪɴɢ ɢʀᴏᴜᴘ ᴄᴏɴᴛʀᴏʟʟᴇʀ ᴜsᴇғᴜʟ & ᴩᴏᴡᴇʀғᴜʟ ❤️
━━━━━━━━━━━━━━━━━━━━