forked from ChrisChrome/weather-bot
data | ||
testing | ||
.gitignore | ||
config.json.template | ||
debug.js | ||
genblacklist.js | ||
goodrooms.json | ||
index.js | ||
LICENSE | ||
package-lock.json | ||
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.json
toconfig.json
and fill in the valuestoken
is your Discord bot tokenowner
is your Discord user IDmainGuild
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.
- Run
node .
- Profit?
TODO
- Clean up the code
- Add more error handling
- Add more logging
- Add more features
- Add more documentation