Skip to content

Discord weather bot

The weather for any city, in your server.

Members type a city and get the weather now or a forecast for up to 7 days. Your bot can also post the weather every day and warn your server about severe weather. Set it up with Weather in BotGhost, the no-code Discord bot maker.

Every feature is free, including the daily post and the alerts.

Celsius or Fahrenheit, by country or your choice

Pick a city and a set of units to see the reply change. The bot starts on By country, so each place shows in the units people use there.

City
Units

By country gives Sydney °C and km/h.

Members can pick their own units with /weather units. Their choice is used for every city they look up.

Words like Light rain come in your server's language, or in one of 41 others you pick.

Weather commands for your members

Everyone can use them to start with. A place can be a city, a city and its country, or a postcode.

/weather now
The weather now for the place you type. Leave the place out to use your saved city, or the server's default city.
/forecast
One line a day for the next 1 to 7 days. You get 5 days if you don't pick a number.
/weather home
Saves your city, so /weather now shows it without typing a place.
/weather units
Picks your units: metric, imperial, °C with mph, or the usual ones for each place.
/weather forget
Deletes your saved city and units.
Only Jayce sees this reply.

Members save their city once

After /weather home, a member can type /weather now or /forecast with no place.

  • Their city stays private. A reply that used a saved city only shows to that member.
  • One city for every server. A member's city and units follow them to each server your bot is in.
  • /weather forget deletes their city and units.
  • You can switch saving off. Members then add a place to /weather now each time.

A daily weather post in your channel

The bot posts today's weather and the days ahead once a day.

  • The city's own time. Pick a whole hour, and the bot works out the city's time zone. It starts at 7 am.
  • 1 to 7 days, with one line for each day. It starts at 5.
  • One post that stays up to date. Switch on Edit yesterday's post instead of posting a new one.
  • A role to ping if you want one. Edited posts never ping again.
The daily post with its default message and a role to ping.

Severe weather alerts for your area

The bot checks your area every 15 minutes. Choose how severe a warning must be before the bot posts it, and before it pings a role.

When a new alert starts

Post alerts from Moderate and ping from Severe to start with. You can change both.

When an alert ends

The bot edits the alert's post, so nobody acts on an old warning.

Alerts come from each country's own weather service. They're available for the US, the UK, Europe, and many other countries. Some regions have none, so a quiet channel doesn't always mean calm weather.

Weather settings

There are three tabs in your dashboard. The default city, units, and messages can be the same in every server, and each server picks its own channels, pings, and alert area.

The default city, units, and replies

Choose the city the bot uses when a member doesn't name one. Pick the units and the language, and decide whether members can save a city of their own. Every reply is a message you can change.

Tom saved London with /weather home, so only he sees this reply.
The Weather command tab with the Default city, Units and language, and Home cities and private replies cards, beside a preview of the reply
The When someone asks for the weather card with its message, Edit message, and the variables that fill in

Default city

Default city
A city, a city and country, a postcode, or coordinates, up to 100 characters. It's empty to start with, and then the bot asks the member which city.
Found
Under the box, the page shows the place the bot found for what you typed, or says that it found none.

Units and language

Units
By country (the default), Metric, Imperial, or °C with mph. By country gives °F and mph in the US, °C with mph in the UK, and °C and km/h elsewhere.
Language
The language of words like Light rain. The server's language to start with, or one of 41 others.

Home cities and private replies

Let members save their city and units
On to start with. It lets members use /weather home, /weather units, and /weather forget. A reply that used a saved city only shows to that member.
Always reply privately
Off to start with, so replies show in the channel unless they used a saved city.

The replies

Each one is its own message with Edit message.

When someone asks for the weather
The answer to /weather now.
When someone asks for a forecast
The answer to /forecast, with one line a day.
When the place isn't found
Only the member sees it.
When the weather can't be fetched
Only the member sees it, when the weather service isn't answering.
When there's no city to look up
No place typed, no saved city, and no default city.
When a member saves their city
After /weather home.
When a member forgets their city
After /weather forget.
When a member picks their units
After /weather units.
When saving cities is off
The answer to /weather home and /weather units while the switch is off.

Set up a weather bot on Discord

No bot yet? Follow our guide on how to make a Discord bot first.

  1. Open Weather in your dashboard and switch it on.
  2. On the Weather command tab, type a Default city if you want one, and pick the Units.
  3. For a daily post or alerts, pick a server in the menu at the top. Open the Daily post or Alerts tab, switch it on, and pick a channel. Alerts also need an area.
  4. Press Save Changes, then type /weather now in your server.

What your bot needs

The commands need nothing extra. For the daily post and alerts, the bot needs View Channel and Send Messages in the channel you pick.

When you save a city, the bot looks it up. The page then shows the place it found under the box, or says that it found none.

Using the old Weather? Press Move my settings on the new page to bring your units and colour over. The old /weather becomes /weather now.

Change it in the builder or on your website

Weather uses the same blocks as your own Discord commands and events.

  • Open it in the builder

    Open any of its commands or events to see how they work, and add your own blocks. The Get Weather block is in the builder too, so your own commands can look up the weather for a place.

  • Let server admins change it

    If your bot has a BotPanel website, admins can sign in and change their own server's default city, units, daily post, alerts, and messages.

A free Discord weather bot

You don't need Premium for any Weather feature. The limits are the same on every bot.

Free

$0
  • /weather now and /forecast for any city
  • A saved city and units for each member
  • A daily weather post at the hour you pick
  • Severe weather alerts for your area
  • 12 messages you can change
  • Its commands, events, and saved values never count toward your free limits

On free bots, a small Made with BotGhost line shows under the module's messages about one time in three. Premium bots never show it.

The limits

the same on every bot
Days in a forecast
1 to 7
Days in the daily post
1 to 7
Daily posts
One a day in each server
Alert checks
Every 15 minutes
New alerts posted in a check
Up to 5
Languages
Your server's, or 41 others

Free bots go offline after 7 days with no activity, and Start brings them back. Read about free hosting

Discord weather bot questions

Have another question? Ask us on Discord, or read the Weather docs.

Yes. Weather is free on every BotGhost bot, with the commands, the daily post, and the alerts. Its commands, events, and saved values don't count toward your free limits.

See what's free

Add the weather to your server

Switch Weather on, pick a default city, and save. You don't need a card for the free plan.

Set up Weather for free