Skip to content

totor13x/telegram-sync-emoji

Repository files navigation

Telegram Emoji Sync

In other languages: English, Русский, Башҡортса

Table of contents

Description

Telegram Emoji Sync is a pyTelethon script that allows you to synchronize the focus states of the Apple ecosystem and, optionally, Discord.

How to use

  • creating_session.py - Creates a new session string for client.
  • get_emojis.py - Retrieves your currently selected emoji from Telegram. You get the document_id of the emoji, which you can use in flask_runner.py, lambda_endpoint.py and if you want to use it with BetterDiscord, you can use it in telegram_sync_plugin.js.
  • flask_runner.py - Runs the Flask server.
  • lambda_endpoint.py - AWS Lambda endpoint. You can use it with AWS API Gateway.
  • telegram_sync_plugin.js - BetterDiscord plugin for syncing emojis. Need to build with webpack. More info about building plugins for BetterDiscord, this file is a source for it.
  • Dockerfile.awslambda - Dockerfile for AWS Lambda, i used it for building the .zip pip packages for AWS Lambda.

License

This project is licensed under the MIT License - see the LICENSE file for details.