Skip to content

sykoticgamer/nw-discord-twitterbot

Repository files navigation

discord-twitter-bot

Post tweets to Discord Webhook of certain twitter users.
Got questions? Join the bot's discord server!

Preview

Heroku Deployment

Deploy

Remember to activate the app. View the logs here.
Use this to initially deploy your discord-twitter-bot.

To further configure the bot get Heroku CLI and run launcher.py.

heroku login
heroku git:clone -a <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

Heroku is a nice solution to host the bot for free.

Normal Setup

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 rewrite branch. 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.)

Useful links:

Credits

Derpolino for providing the discord-webhook-python code.
Rokxx for providing the dota 2 twitter list.
JacobNWolf for providing the twitter lists for CS:GO, LoL, Overwatch, CoD and SSMB.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published