arfin03 / AloneRobot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aʟᴏɴᴇ Rᴏʙᴏᴛ

Stars License Python

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

Aʟᴏɴᴇ Rᴏʙᴏᴛ

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

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

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

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

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

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

ᴛʜᴇ ᴇᴀ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/TeamAloneOp/AloneRobot && cd AloneRobot
  • 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 AloneRobot/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 AloneRobot
  • For getting out from tmux session

Press Ctrl+b and then d

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

ᴡʀɪᴛᴇ ɴᴇᴡ ᴍᴏᴅᴜʟᴇs

#ᴀᴅᴅ ʟɪᴄᴇɴsᴇ ᴛᴇxᴛ ʜᴇʀᴇ ɢᴇᴛ ɪᴛ ғʀᴏᴍ ʙᴇʟᴏᴡ.

from AloneRobot import pbot as alone # This is bot's client
from pyrogram import filters # pyrogram filters



#ғᴏʀ /help ᴍᴇɴᴜ
__mod_name__ = "Module Name"
__help__ = "Module help message"


@alone.on_message(filters.command("start"))
async def some_function(_, message):
    await message.reply_text("ɪ'ᴍ.ᴀʟɪᴠᴇ ʙᴀʙʏ❣️!!")

# ᴍᴀɴʏ ᴜsᴇғᴜʟ ғᴜɴᴄᴛɪᴏɴs ᴀʀᴇ ɪɴ, AloneRobot/utils/,AloneRobot, and AloneRobot/modules/

ᴀɴᴅ ᴘᴜᴛ ᴛʜɪs ғɪʟᴇ ɪɴ AloneRobot/modules/, ʀᴇsᴛᴀʀᴛ ᴀɴᴅ ᴛᴇsᴛ ʏᴏᴜʀ ʙᴏᴛ.

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

─「 sᴜᴩᴩᴏʀᴛ 」─

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

ㅤㅤㅤㅤᴄʀᴇᴅɪᴛs

Aʟᴏɴᴇ

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

About

License:MIT License


Languages

Language:Python 99.7%Language:Batchfile 0.2%Language:Dockerfile 0.1%Language:Shell 0.0%Language:Procfile 0.0%