Skip to content

super basic bot that uses the discord webhook to post the weather for the next 1 to 5 days every 6 hours.

Notifications You must be signed in to change notification settings

BumbleBeeBro/discord-weather-bot

Repository files navigation

discord-weather-bot

super basic bot that uses the discord webhook to post the weather for the next 1 to 5 days.

has to run on a server with php cli installed.

use a screen session to keep the bot running.

needs guzzlehttp/guzzle and Carbon/Carbon http://docs.guzzlephp.org/en/latest/overview.html http://carbon.nesbot.com/

you need a discord webhook for the channel the bot should post https://support.discordapp.com/hc/en-us/articles/228383668-Intro-to-Webhooks

you also need an api key for openweathermap https://openweathermap.org/appid

This is the api used https://openweathermap.org/forecast5

lastly you need the city id there is a json to find it http://bulk.openweathermap.org/sample/city.list.json.gz

Have fun with it.

About

super basic bot that uses the discord webhook to post the weather for the next 1 to 5 days every 6 hours.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages