This bots acting as user-bot and send reactions to messages, using GPT3.
First of all you need to generate a telegram session (basically, login into your account).
- Login to your account in https://my.telegram.org/
- Click under API Development tools. A Create new application window will appear.
- A 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!
- Log in.
mkdir sessions
pip install -r requirenments.txt
python login.py <API_ID> <API_HASH>
- First, generate mapping for emojis. Make sure, that you add a telegram token into the file.
python get_emojis.py
- Then start the bot. Make sure, that you provide necessary tokens in file.
python bot.py