bitrebell / CrushRobot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

──「 Crush Robot“̯ 🐼💗 |℡ 」──

A SUPPORT GROUP AND READY-TO-USE RUNNING INSTANCE Of THIS BOT CAN BE fOUND ON TELEGRAM .𖤐
CrushRobot | CrushSupport

Stars License Python

─「 ᴅᴇᴩʟᴏʏ ᴏɴ ʜᴇʀᴏᴋᴜ 」─

─「 ᴅᴇᴩʟᴏʏ ᴏɴ ᴏᴋᴛᴇᴛᴏ 」─

─「 sᴜᴩᴩᴏʀᴛ 」─

⇝ Install Locally Or On A VPS ⇜

CrushRobot@arch:~$ git clone https://github.com/Darkranger00/CrushRobot
CrushRobot@arch:~$ cd CrushRobot
CrushRobot@arch:~$ pip3 install -U -r requirements.txt
CrushRobot@arch:~$ cp sample_config.py config.py

Edit config.py with your own values

⇝ Run Directly ⇜

CrushRobot@arch:~$ python3 -m CrushRobot

Generating Pyrogram Session For Heroku

CrushRobot@arch:~$ git clone https://github.com/Darkranger00/CrushRobot
CrushRobot@arch:~$ cd Syrabot
CrushRobot@arch:~$ pip3 install pyrogram TgCrypto
CrushRobot@arch:~$ python3 str_gen.py

⇝ Docker ⇜

CrushRobot@arch:~$ git clone https://github.com/Darkranger00/CrushRobot
CrushRobot@arch:~$ Syrabot
CrushRobot@arch:~$ cp sample_config.env config.env

Edit config.env with your own values

syrabot@arch:~$ sudo docker build . -t CrushRobot
syrabot@arch:~$ sudo docker run CrushRobot

⇝ Write new modules ⇜

# Add license text here, get it from below

from syrabot import app # This is bot's client
from syrabot import app2 # userbot client, import it if module is related to userbot
from pyrogram import filters # pyrogram filters
...


# For /help menu
__MODULE__ = "Module Name"
__HELP__ = "Module help message"


@app.on_message(~filters.edited & filters.command("start"))
async def some_function(_, message):
    await message.reply_text("Heyy Baby!! I'm already up!!")

# Many useful functions are in, CrushRobot/utils/, CrushRobot, and CrushRobot/core/

And put that file in CrushRobot/modules/, restart and test your bot.

─「 ᴄʀᴇᴅɪᴛs 」─

Pyrogram Pytgcalls Anonymous Shikhar TheHamkerCat

About

License:Apache License 2.0


Languages

Language:Python 99.6%Language:Batchfile 0.2%Language:Dockerfile 0.2%Language:Shell 0.0%Language:Procfile 0.0%