Find a file
Christopher Cookman 17c89f6c4f
Some checks failed
ptero-push / build (push) Has been cancelled
Update git link
2025-09-23 19:07:24 -06:00
.forgejo/workflows Guh 2025-05-27 20:37:45 -06:00
.vscode Moved to a new repo; Fix small thin preventing startup/message handler fix 2025-05-07 23:46:28 -06:00
data Add bug report system 2025-05-27 14:28:17 -06:00
images Moved to a new repo; Fix small thin preventing startup/message handler fix 2025-05-07 23:46:28 -06:00
testing Moved to a new repo; Fix small thin preventing startup/message handler fix 2025-05-07 23:46:28 -06:00
.gitignore Moved to a new repo; Fix small thin preventing startup/message handler fix 2025-05-07 23:46:28 -06:00
config.json.template Add bug report system 2025-05-27 14:28:17 -06:00
debug.js Moved to a new repo; Fix small thin preventing startup/message handler fix 2025-05-07 23:46:28 -06:00
funcs.js Moved to a new repo; Fix small thin preventing startup/message handler fix 2025-05-07 23:46:28 -06:00
genblacklist.js Moved to a new repo; Fix small thin preventing startup/message handler fix 2025-05-07 23:46:28 -06:00
goodrooms.json Moved to a new repo; Fix small thin preventing startup/message handler fix 2025-05-07 23:46:28 -06:00
index.js Update git link 2025-09-23 19:07:24 -06:00
LICENSE Moved to a new repo; Fix small thin preventing startup/message handler fix 2025-05-07 23:46:28 -06:00
package.json Moved to a new repo; Fix small thin preventing startup/message handler fix 2025-05-07 23:46:28 -06:00
PRIVACY.md Moved to a new repo; Fix small thin preventing startup/message handler fix 2025-05-07 23:46:28 -06:00
README.md Moved to a new repo; Fix small thin preventing startup/message handler fix 2025-05-07 23:46:28 -06:00
TERMS.md Moved to a new repo; Fix small thin preventing startup/message handler fix 2025-05-07 23:46:28 -06:00
TODO Add TODO; Remove alter table 2025-05-23 14:16:46 -06:00

Join our Discord Add the bot

Warning

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

Also If you run this on Windows for Debugging, Sodium might have a few issues installing with MSVS for certain users.

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