Commit graph

114 commits

Author SHA1 Message Date
Christopher Cookman 99667e4890
Fix day being -1 2024-05-19 10:27:44 -06:00
Christopher Cookman 6332006702
Guh 2024-05-19 10:26:51 -06:00
Christopher Cookman b49d1c9a58
Make output of outlook not ephemeral 2024-05-19 10:26:14 -06:00
Christopher Cookman b86eabcf1b
Buh 2024-05-19 10:25:39 -06:00
Christopher Cookman 14faf62e90
I don't like Discord attachments. 2024-05-19 10:24:48 -06:00
Christopher Cookman fdd435c44a
Whoops 2024-05-19 10:12:57 -06:00
Christopher Cookman 4ca2435359
Impliment /outlook 2024-05-19 10:06:21 -06:00
MoSiren b9ebbccb90 Updated Priority for PTS and RET
PTS is the SPC outlooks that are issued if severe weather is expected. 
RET is EAS Activation Requested it seems to not be sent to IEMBot. More than likely used on NWWS-IO

PTS was updated from 1 to 3
RET was updated from 1 to 5.

MoSiren
2024-05-19 04:28:32 -06:00
Christopher Cookman 1f718f41ab
Add new event type: AHD (Area Hydrological Discussion) 2024-05-17 17:53:59 -06:00
Christopher Cookman 24a1b2acec Merge pull request 'Implement #6' (#7) from dev into main
Reviewed-on: ChrisChrome/weather-bot#7
2024-05-17 13:23:34 -06:00
Christopher Cookman d36015f9e2
Add package-lock to gitignore 2024-05-17 13:18:11 -06:00
Christopher Cookman 2c28781c27
Remove package-lock.json 2024-05-17 13:17:47 -06:00
Christopher Cookman 4e97b3471d
Remove Extra , in config.json.template 2024-05-17 13:16:18 -06:00
Christopher Cookman 60c6860089
First attempt at auto-purging database 2024-05-17 13:00:56 -06:00
Christopher Cookman d993d8fc47
Fix setupall again 2024-05-16 21:21:55 -06:00
Christopher Cookman cdb86c0ad0
maybe 2024-05-16 21:20:06 -06:00
Christopher Cookman 9c1703d1ae
test 2024-05-16 21:13:31 -06:00
Christopher Cookman 69ab79e930
await defer reply 2024-05-16 21:09:50 -06:00
Christopher Cookman 4e1d52178f
Use WFOs for setupall 2024-05-16 21:08:44 -06:00
Christopher Cookman 403ee86e4d
Redo WFOs, auto generate them 2024-05-16 21:01:16 -06:00
Christopher Cookman 88827c513e
Fix typo 2024-05-16 20:11:49 -06:00
Christopher Cookman 93638c0cd5
Update /about 2024-05-16 20:07:17 -06:00
Christopher Cookman 2a574e42d9
Change timestamp format and stuff 2024-05-16 19:57:31 -06:00
Christopher Cookman b1db0c1d42
Add check to sub/unsub to see if room is already subbed or not 2024-05-16 18:39:26 -06:00
Christopher Cookman d76c2f3192 Update data/blacklist.json
Remove byzchat (Billings, MT) from blacklist. Don't know why that was there.
2024-05-16 15:03:53 -06:00
Christopher Cookman 702e9a743f
Add Discord log to error handling 2024-05-16 00:05:04 -06:00
Christopher Cookman b4f4f4b017
Update error handling in index.js 2024-05-13 12:33:33 -06:00
Christopher Cookman bcdda75a77
Gonna try not killing the bot on rejection/exception, see what happens 2024-05-13 12:29:23 -06:00
Christopher Cookman ec7ed2c16a
Create folder for errors 2024-05-12 10:47:14 -06:00
Christopher Cookman 5cadf7a8d0
- Automatically get room list from server
- Remove iem.json (see above)
- Add blacklist.json (see above)
- Move JSON data files to dedicated folder. Cleaning up root
2024-05-12 10:03:02 -06:00
Christopher Cookman 710e4258f3
Fix event code assignment in index.js 2024-05-12 08:56:42 -06:00
Christopher Cookman d59fdb2c5c
More advanced error handling i hope 2024-05-12 06:45:13 -06:00
Christopher Cookman 86b1717ba3
I just woke up, it died last night, just gonna mke it crash when it does. Also log all errors for a file 2024-05-12 06:41:21 -06:00
Christopher Cookman 8b7f223493
Use GET for uptime-kuma 2024-05-12 02:06:17 -06:00
Christopher Cookman 6fada9d3fc
Add heartbeat functionality to Uptime Kuma monitoring 2024-05-12 02:05:26 -06:00
Christopher Cookman e70cdd972c
Add configuration for uptime-kuma monitoring 2024-05-12 02:03:28 -06:00
Christopher Cookman 325bd25f07
Fix startup error handling in index.js 2024-05-12 01:57:23 -06:00
Christopher Cookman 387379269a
Update error logging in index.js 2024-05-12 01:55:11 -06:00
Christopher Cookman e469f8d8a0
- Disable NTFy errors for now 2024-05-12 01:54:42 -06:00
Christopher Cookman e3835c1122
Refactor XMPP connection handling in index.js 2024-05-12 01:53:21 -06:00
Christopher Cookman 60e9031325
- Change how we handle disconnects/startup errors 2024-05-12 01:51:50 -06:00
Christopher Cookman b2615c7b21
- Close/Disconnect after an error 2024-05-12 01:50:13 -06:00
Christopher Cookman 83b210783a
Fix console log message in index.js 2024-05-12 01:48:45 -06:00
Christopher Cookman 4072116aa5
Add error logging via ntfy 2024-05-12 01:44:22 -06:00
Christopher Cookman 1e94c43aea
- Lay foundation for automatic room gathering
- We don't need a separate UUID for each room lol. That's probably why im crashing so often
2024-05-12 01:39:19 -06:00
Christopher Cookman f0194d697a
Remove guild members intent and possibly fix weird crash 2024-05-10 09:56:11 -06:00
Christopher Cookman 688954fa11 add private folder 2024-05-10 09:54:22 -06:00
MoSiren1 b6474ac53e
Update iem.json
Final Update Hopefully for Read Only Chats that don't work anymore.
2024-05-09 23:57:17 -05:00
MoSiren1 def1bdd7ee
Update iem.json
Updating non NWS Chats that are old IEM chats that where made READ-ONLY
2024-05-09 23:46:28 -05:00
Christopher Cookman 00b0a03804
Add some more logs 2024-05-09 22:38:06 -06:00