Skip to content

⛅ Automatized Discord Custom Status using openweathermap.org API

License

Notifications You must be signed in to change notification settings

leonardssh/auto-discord-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automatized Discord Custom Status

⛅ Automatized Discord Custom Status using openweathermap.org API

Remember to 🌟 this Github if you 💖 it.

WARNING: I'm not responsible for any bans resulting in using this. Use at your own risk!!!

a1

Installation

[Discord] Get your personal user token - click here

Copy and paste it in your config.json file (discord_token field).

[OpenWeatherMap] Get your application key

You have to get your openweathermap.org api key, to allow your app to get the weather of your favourite city. Register here, then go on your dashboard to get your key. Copy and paste it in your config.json file (weather field).

[Crontab] Run the script every 5 minutes

You have to edit the crontab table using crontab -e. Then, add the following line to this file:

*/5 * * * * cd /path/to/auto-discord-status && /usr/bin/python3 /path/to/auto-discord-status/main.py >> ~/discord-cron.log 2>&1

This will run the script and update your custom status every 5 minutes.

That's it

Congratulations, you have successfully installed Automatized Discord Custom Status. Feel free to open an issue if necessary!