Skip to content

Itachisann/ItachiUserbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Itachi Userbot

Fully async userbot built using the basics of TG-Userbot based on Telethon library

Requirements:

  • Python 3.9 or above.
  • Optional Telegram API Key (App ID and App Hash).

How to install:

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

Developing

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!"
    )

Inspiration and Credits:

Copyright & License