An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

ᴍᴜᴋᴇsʜ ʀᴏʙᴏᴛ






Stars

License
Python




━━━━━━━━━━━━━━━━━━━━

ɢʀᴏᴜᴘ ᴄᴏɴᴛʀᴏʟʟᴇʀ

ɪ ᴀᴍ ᴀᴠᴀɪʟᴀʙʟᴇ ᴏɴ ᴛᴇʟᴇɢʀᴀᴍ ᴀs ɢʀᴏᴜᴘ ᴄᴏɴᴛʀᴏʟʟᴇʀ ʀᴏʙᴏᴛ
ᴛʜɪs ɪs ᴀ ᴅᴇᴍᴏ ʙᴏᴛ
ɪ ᴅᴏɴ'ᴛ ᴋɴᴏᴡ нσω ʟᴏɴɢᴇʀ ɪ'ʟʟ вε ʜᴏsᴛɪɴɢ ɪᴛ​...


━━━━━━━━━━━━━━━━━━━━━━


ʀᴇǫᴜɪʀᴇᴍᴇɴᴛs


ᴘʏᴛʜᴏɴ 3.11.5 |
ᴛᴇʟᴇɢʀᴀᴍ ᴀᴘɪ ᴋᴇʏ |
ᴛᴇʟᴇɢʀᴀᴍ ʙᴏᴛ ᴛᴏᴋᴇɴ |
ᴍᴏɴɢᴏᴅʙ ᴜʀɪ


━━━━━━━━━━━━━━━━━━━━

ᴅᴇᴘʟᴏʏ ᴏɴ ʜᴇʀᴏᴋᴜ​ 🚀


ᴛʜᴇ ᴇᴀsɪᴇsᴛ ᴡᴀʏ ᴛᴏ ᴅᴇᴘʟᴏʏ ɢʀᴏᴜᴘ ᴄᴏɴᴛʀᴏʟʟᴇʀ


━━━━━━━━━━━━━━━━━━━━━━

ʜᴏᴡ ᴛᴏ ᴍᴀᴋᴇ ʏᴏᴜʀ ᴏᴡɴ ɢʀᴏᴜᴘ ᴍᴀɴᴀɢᴇᴍᴇɴᴛ ʙᴏᴛ?


YouTube Video Views


━━━━━━━━━━━━━━━━━━━━



Deploy to Koyeb


─「 ᴅᴇᴩʟᴏʏ ᴏɴ ᴠᴘ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ᴇғᴜʟ & ᴩᴏᴡᴇʀғᴜʟ ❤️

━━━━━━━━━━━━━━━━━━━━