Fully async userbot built using the basics of TG-Userbot based on Telethon library
- Python 3.9 or above.
- Optional Telegram API Key (App ID and App Hash).
Clone the repository on your self host and open the new directory.
$ git clone https://github.com/Itachisann/ItachiUserbot && cd ItachiUserbot
(Optional) Edit the config.ini using Nano or a text Editor and put your APP ID and APP HASH.
$ nano config.ini
Install all the requirements using pip.
$ pip3 install --user -r requirements.txt
Run the userbot and have fun!
$ python3 -m userbot
To add extra plugins and functions, simply add the code into userbot/plugins. Each file
that is added to the plugins
directory. Here's an example
from userbot import client
from userbot.core.events import NewMessage
@client.createCommand(command=("example"),outgoing=True, regex=r"example(?: |$)(.+)?$")
async def module_name(event: NewMessage.Event) -> None:
await event.edit(
"This is an example!"
)
- Copyright (C) 2021 Itachisann.
- Licensed under the terms of the GNU General Public License v3.0 or later (GPLv3+).