No more development here. project migrated to new repository: https://github.com/PySpy-Team/anika
Anika is group manager bot designed for Telegram platfrom.
powered by Telethon.
[Telethon's documentation](Telethon's documentation) would be useful.
-
git clone https://github.com/arsham-bored/anika.git
andcd anika
-
Create .env file:
touch .env
.
all necessary variables will be pasted there. -
Create new application window will appear. Fill in your application details. There is no need to enter any URL, and only the first two fields (App title and Short name) can currently be changed later.
-
Click on Create application at the end. Remember that your API hash is secret and Telegram won’t let you revoke it. Don’t post it anywhere!
-
Paste your OWN
api_id
andapi_hash
into .env file. like,
api_id=12345
api_hash=0123456789abcdef0123456789abcdef
-
Install all required dependencies:
pip install -r requirements.txt
-
You are ready to go ! run project by
python -m src.app
.
python src/app.py
may cause error