https://github.com/Divkix/tgEasyAssistant
tgEasy's Official Assistant Bot and Example Bot 🤖
https://github.com/Divkix/tgEasyAssistant
Last synced: 8 months ago
JSON representation
tgEasy's Official Assistant Bot and Example Bot 🤖
- Host: GitHub
- URL: https://github.com/Divkix/tgEasyAssistant
- Owner: divideprojects
- License: gpl-3.0
- Created: 2021-10-28T12:05:46.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-08T00:45:10.000Z (about 2 years ago)
- Last Synced: 2024-04-08T02:14:39.231Z (about 2 years ago)
- Language: Python
- Homepage:
- Size: 84 KB
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tgEasy Assistant
> The assistant bot that helps people with [tgEasy](//github.com/jayantkageri/tgEasy) directly on Telegram.
This repository contains the source code of [@tgEasyRobot](//t.me/tgEasyRobot) and the instructions for running a
copy yourself.
Feel free to explore the source code to
learn more about these topics.
## Requirements
- Python 3.8 or higher.
- A [Telegram API key](//docs.pyrogram.org/intro/setup#api-keys).
- A [Telegram bot token](//t.me/botfather).
## Run
1. `git clone https://github.com/divkix/tgEasyAssistant`, to download the source code.
2. `cd tgEasyAssistant`, to enter the directory.
3. `python3 -m venv venv && . venv/bin/activate` to create and activate a virtual environment.
3. `pip install -U -r requirements.txt`, to install the requirements.
4. Create a new `.env` file, copy-paste the following and replace the values with your own:
```
API_ID = 12345
API_HASH = 0123456789abcdef0123456789abcdef
BOT_TOKEN = 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
LOGS = 777000
```
5. Run with `python -m assistant`.
6. Stop with CTRL+C and `deactivate` the virtual environment.
## License
GNU General Public Licence v3.0 Only, (C) 2021 [Jayant Hegde Kageri](//github.com/jayantkageri)