ᴅᴇᴘʟᴏʏ ᴛᴏ ᴠᴘ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/doraemon890/JARVIS-X-ROBO && cd JarvisRobo
- 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 JarvisRobo/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 JarvisRobo
- For getting out from tmux session
Press Ctrl+b
and then d
━━━━━━━━━━━━━━━━━━━━
#ᴀᴅᴅ ʟɪᴄᴇɴsᴇ ᴛᴇxᴛ ʜᴇʀᴇ ɢᴇᴛ ɪᴛ ғʀᴏᴍ ʙᴇʟᴏᴡ.
from JarvisRobo import pbot as jarvs # This is bot's client
from pyrogram import filters # pyrogram filters
#ғᴏʀ /help ᴍᴇɴᴜ
__mod_name__ = "Module Name"
__help__ = "Module help message"
@jarvs.on_message(filters.command("start"))
async def some_function(_, message):
await message.reply_text("ɪ'ᴍ.ᴀʟɪᴠᴇ ʙᴀʙʏ❣️!!")
# ᴍᴀɴʏ ᴜsᴇғᴜʟ ғᴜɴᴄᴛɪᴏɴs ᴀʀᴇ ɪɴ, JarvisRobo/utils/,JarvisRobo, and JarvisRobo/modules/