/Syrabot

A Powerful Telegram BOT with Many cool features.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

──「 SYRA“̯ 🐼💗 |℡ 」──

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

Stars License Python

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

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

─「 sᴜᴩᴩᴏʀᴛ 」─

⇝ Install Locally Or On A VPS ⇜

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

Edit config.py with your own values

⇝ Run Directly ⇜

syrabot@arch:~$ python3 -m syrabot

Generating Pyrogram Session For Heroku

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

⇝ Docker ⇜

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

Edit config.env with your own values

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

⇝ 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, syrabot/utils/, syrabot, and syrabot/core/

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

─「 ᴄʀᴇᴅɪᴛs 」─

Pyrogram Pytgcalls Anonymous Shikhar TheHamkerCat