A Discord bot for posting weather updates/alerts https://discord.com/invite/atnUGXv6za
Find a file
MoSiren 17fd8f45fe Added Airports codes
These just post MCDs and WCNs that's all. and they hog the server and make it status 429 Too Many Requests.
Possible slight fix in usage that's all.
2024-06-05 17:48:45 -06:00
data Added Airports codes 2024-06-05 17:48:45 -06:00
images Add error.gif for future use funnies 2024-05-19 23:55:49 -06:00
testing Use WFOs for setupall 2024-05-16 21:08:44 -06:00
.gitignore Add package-lock to gitignore 2024-05-17 13:18:11 -06:00
config.json.template Remove Extra , in config.json.template 2024-05-17 13:16:18 -06:00
debug.js Use WFOs for setupall 2024-05-16 21:08:44 -06:00
genblacklist.js Redo WFOs, auto generate them 2024-05-16 21:01:16 -06:00
goodrooms.json Redo WFOs, auto generate them 2024-05-16 21:01:16 -06:00
index.js Make voice commands only work in servers 2024-05-22 18:54:30 -06:00
LICENSE Funny 2024-05-07 21:10:29 -06:00
package.json Add overlays to outlook command 2024-05-19 23:43:09 -06:00
README.md fear 2024-05-09 22:00:26 -06:00

Join our Discord Add the bot

Warning

This is SUPER tossed together. Might bother cleaning it up later.

What is this?

This is meant to be a public Discord bot. It connects via XMPP to Weather.IM and allows server owners to subscribe a channel to any number of weather alerts.

Pre-requisites

  1. Node.js
  2. NPM
  3. A Discord bot token

How do I use this?

  1. Clone the repo
  2. Install the requirements with npm install
  3. Copy config.example.json to config.json and fill in the values
    • token is your Discord bot token
    • owner is your Discord user ID
    • mainGuild is the ID of the guild you want to use as the main guild (This is used for making the support invite)
    • inviteChannel is the ID of the channel you want to use for the support invite
    • NTFY config is optional, leave enabled false if you don't want to use it or don't know how.
  4. Run node .
  5. Profit?

TODO

  • Clean up the code
  • Add more error handling
  • Add more logging
  • Add more features
  • Add more documentation