FoxUserbot
Telegram userbot with the easiest installation
Custom modules
Custom modules
To add your module to the bot, create a pull request in the custom_modules repository
from pyrogram import Client, filters
from pyrogram.types import Message
from plugins.settings.main_settings import module_list, file_list
from prefix import my_prefix
prefix = my_prefix()
@Client.on_message(filters.command("example_edit", prefixes=prefix) & filters.me)
async def example_edit(client: Client, message: Message):
await message.edit("<code>This is an example module</code>")
module_list['Example'] = f'{prefix}example_edit'
file_list['Example'] = 'example.py'
Groups and support
Install
Termux / Linux (deb)
curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/FoxUserbot/FoxUserbot/main/install.sh)"
wget
sh -c "$(wget https://raw.githubusercontent.com/FoxUserbot/FoxUserbot/main/install.sh -O -)"
Credits
➤ Gh0stC0der1
➤ Terexdev
➤ A9FM