A Discord bot for posting weather updates/alerts
https://discord.com/invite/atnUGXv6za
| data | ||
| images/overlays | ||
| testing | ||
| .gitignore | ||
| config.json.template | ||
| debug.js | ||
| genblacklist.js | ||
| goodrooms.json | ||
| index.js | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
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
- Node.js
- NPM
- A Discord bot token
How do I use this?
- Clone the repo
- Install the requirements with
npm install - Copy
config.example.jsontoconfig.jsonand fill in the valuestokenis your Discord bot tokenowneris your Discord user IDmainGuildis the ID of the guild you want to use as the main guild (This is used for making the support invite)inviteChannelis 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.
- Run
node . - Profit?
TODO
- Clean up the code
- Add more error handling
- Add more logging
- Add more features
- Add more documentation