Skip to content

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.

License

Notifications You must be signed in to change notification settings

Noob-mukesh/MukeshRobot

Repository files navigation

ᴍᴜᴋᴇsʜ ʀᴏʙᴏᴛ

Stars License Python

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

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

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

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

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

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

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

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

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

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

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

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

─「 ᴅᴇᴩʟᴏʏ ᴏɴ ᴠᴘs/ʟᴏᴄᴀʟ 」─

- ᴠᴘs/ʟᴏᴄᴀʟ ᴅᴇᴘʟᴏʏᴍᴇɴᴛ ᴍᴇᴛʜᴏᴅ

  • Get your Necessary Variables
  • 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

#ᴀᴅᴅ ʟɪᴄᴇɴ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ʜ

ᴀɴᴏɴʏᴍᴏᴜs
ᴀɴᴅ ᴀʟʟ ᴛʜᴇ ᴄᴏɴᴛʀɪʙᴜᴛᴏʀs ᴡʜᴏ ʜᴇʟᴩᴇᴅ ɪɴ ᴍᴀᴋɪɴɢ ɢʀᴏᴜᴘ ᴄᴏɴᴛʀᴏʟʟᴇʀ ᴜsᴇғᴜʟ & ᴩᴏᴡᴇʀғᴜʟ ❤️

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