- lan-play compiled
- telepot (
pip3 install telepot
) - telegram token (use @BotFather on telegram to get one)
sudo apt install python3-pip
pip3 install telepot selenium
- Get the latest geckodriver from here https://github.com/mozilla/geckodriver/releases
tar -xvzf geckodriver
sudo cp geckodriver /usr/local/bin/
- Get the latest switch-lan-play from here https://github.com/spacemeowx2/switch-lan-play/releases
chmod +x lan-play-linux
- Put the lan-play-linux in the same folder of bot.py
- On the first run
python3 main.py
- After the bot creates the token.txt file on your computer just run
python3 main.py
- Enjoy
- Ubuntu