This scripts relies on running a Dockerized tg and doing some fugly parsing to extract the right messages.
ruby forward.rb DISCORD_BOT_TOKEN DISCORD_CHANNEL_ID
Then
- wait a few seconds, the script should stop outputting anything
- enter your phone in the following format
336XXX...
- wait until you receive the authentication code on your phone
- enter the authentication code
From there, it will run forever, while forwarding message sent by CryptoPing
to Discord
- Enable to select the username to be forwarded
- Move ruby script inside the docker image
If we continue to need this, we'd better study https://telegram.org/apps#source-code and get things done directly rather than doing this crap.