Post tweets to Discord Webhook of certain twitter users.
Got questions? Join the bot's discord server!
To further configure the bot get Heroku CLI and run launcher.py. (Warning: This is not recommended for inexperienced users since a lot of things could go wrong. Troubleshooting support will not be provided.)
heroku login heroku create <your heroku app name> cd <your heroku app name> git remote add origin https://github.com/NNTin/discord-twitter-bot git pull origin master python3 launcher.py git add . git commit -am "updated configuration" git push heroku
This will create a data.json and the bot will ignore any set environment variable.
(Warning: This is only recommended for experienced users who have some basic experience with CLI.)
Get Python >=3.5.3, <3.7
python3 -m venv bot-env source bot-env/bin/activate git clone https://github.com/NNTin/discord-twitter-bot.git python3 discord-twitter-bot/launcher.py
First two lines are skip-able but are recommended if you are relying on an older version of discord.py. Third line clones the GitHub project. Fourth line executes launcher.py
Once you have set everything up you can run main.py directly. (Useful in combination with systemd, Upstart, PM2, etc.)