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