Commit graph

160 commits

Author SHA1 Message Date
Christopher Cookman 6dd606209d
Make setupall put wfo in channel name 2024-05-22 10:44:19 -06:00
Christopher Cookman 5075a5973d
Merge subscribe and usersubscribe into just /subscribe 2024-05-21 20:21:08 -06:00
Christopher Cookman d64e402e16
WHOOPS 2024-05-21 19:29:18 -06:00
Christopher Cookman 323cf185e5
Doing stuff for ntfy for once 2024-05-21 19:28:58 -06:00
Christopher Cookman e30af0143d
Maybe a fix to ntfy being silly 2024-05-21 19:24:38 -06:00
Christopher Cookman 585c075072
Fix filter on usersub 2024-05-21 17:10:05 -06:00
Christopher Cookman cca3f180fb
Fix usersub filters. 2024-05-20 20:07:10 -06:00
Christopher Cookman 5e1635b9c1
Async 2024-05-20 12:28:31 -06:00
Christopher Cookman 498da05d55
Add sattelite imagery command 2024-05-20 12:27:38 -06:00
Christopher Cookman 4d8f9c072a
Close #8 2024-05-20 11:59:02 -06:00
Christopher Cookman 34f1580ff7
Fix that 2024-05-19 23:58:17 -06:00
Christopher Cookman a261733f21
Yeah no, no overlays on alert map 2024-05-19 23:54:36 -06:00
Christopher Cookman 821d6b52aa
No overlay for alert map, sadge 2024-05-19 23:50:15 -06:00
Christopher Cookman e60352d5c8
Add overlays to outlook command 2024-05-19 23:43:09 -06:00
Christopher Cookman 86d5105579
Im dumb, thats not right 2024-05-19 18:38:04 -06:00
Christopher Cookman 6679ea55c6 Attempt at adding timestamps 💀 2024-05-19 18:32:11 -06:00
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
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 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 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 00b0a03804
Add some more logs 2024-05-09 22:38:06 -06:00
Christopher Cookman 071e41136a
oh 2024-05-09 22:36:56 -06:00
Christopher Cookman 5f5b5ca547
test 2024-05-09 22:35:01 -06:00
Christopher Cookman 32a7f846d4
add perm 2024-05-09 22:32:56 -06:00
Christopher Cookman 6733eea16a
Add guild joining/leaving 2024-05-09 22:32:05 -06:00
Christopher Cookman e9c303a096
Yip 2024-05-09 22:04:47 -06:00
Christopher Cookman 9f2ddac444 Auto sharding, maybe will fix 100 server limit for now 2024-05-09 22:04:01 -06:00
Christopher Cookman 30462b85f5
fear 2024-05-09 22:00:26 -06:00
Christopher Cookman 7f8abdf079
Add max volume. Not limiting it was a horrible idea 2024-05-09 21:42:11 -06:00
Christopher Cookman 8436139593
Oh, im stupid
- Fix volume not being listened to
2024-05-09 21:39:52 -06:00
Christopher Cookman 6175762c47
Fix volume, add volume command 2024-05-09 21:33:25 -06:00
Christopher Cookman 05ef2ca95c
Make filters lowercase 2024-05-09 21:17:22 -06:00
Christopher Cookman c5944ea606
Add the ability for a user to subscribe their DMs with the bot to a room/rooms. Allows basic filtering
TODO: Make filtering easier, add sanity checks to this
2024-05-09 21:12:40 -06:00
Christopher Cookman b7f3ca2f20
whoops 2024-05-09 13:28:38 -06:00
Christopher Cookman 73125f06e7
Add ability to pause/unpause streams 2024-05-09 13:25:27 -06:00
Christopher Cookman ede9be2509
a 2024-05-09 00:20:50 -06:00
Christopher Cookman 1ad9c477ee
Add priority system to events 2024-05-09 00:17:22 -06:00
Christopher Cookman 6482c1462f
Add generic live stream support (only mp3 streams atm) 2024-05-08 17:21:39 -06:00
Christopher Cookman 2110b10539
Add broadcastify streaming (dont kill me RR) 2024-05-08 17:18:41 -06:00
Christopher Cookman 4743a46e54
Finishing that up 2024-05-08 14:44:06 -06:00
Christopher Cookman 21e96e8d52
await my beloved 2024-05-08 14:37:18 -06:00
Christopher Cookman 62f9f4af19
Guh 2024-05-08 14:36:52 -06:00
Christopher Cookman 233c1804d9
Refactor pagination logic in index.js and update interaction reply to followUp 2024-05-08 14:35:26 -06:00
Christopher Cookman f328ba7d9c
Update config.json.template and index.js with Discord owner, mainGuild, and inviteChannel IDs 2024-05-08 10:58:27 -06:00
Christopher Cookman 8064cf083c
Remove "New Alert" title from ntfyBody object in index.js 2024-05-08 10:46:25 -06:00
Christopher Cookman 2a101de2fc
Funny 2024-05-08 10:41:41 -06:00
Christopher Cookman c1ed57f4e1
Add all channels command for owner server 2024-05-08 10:36:34 -06:00
Christopher Cookman 9e0d7517b8
add error killer 2024-05-08 09:30:32 -06:00
Christopher Cookman 0733b37995
Refactor pagination logic in index.js 2024-05-08 09:28:22 -06:00
Christopher Cookman e2a328e53b
Add WFO functionality to index.js 2024-05-08 09:24:19 -06:00
Christopher Cookman 6008c0f9aa
Add colors package to make logs nice to read 2024-05-08 08:41:29 -06:00
Christopher Cookman f0b45c190b
Refactor error handling and startup logic in index.js 2024-05-08 08:33:32 -06:00
Christopher Cookman 2db900e154
Add startup timestamp and message count variables in index.js 2024-05-08 08:27:36 -06:00
Christopher Cookman 5fa82ef8b4
Add ephemeral flag to interaction reply 2024-05-08 08:13:23 -06:00
Christopher Cookman 0c7ad1d515
Add new command to list available rooms in index.js 2024-05-08 08:12:55 -06:00
Christopher Cookman b746a19476
Update bot description in index.js 2024-05-08 08:05:43 -06:00
Christopher Cookman d236181231
Fix error handling when sending message to channel 2024-05-08 07:48:59 -06:00
Christopher Cookman f4fa286766
Stop connection before starting, just in case 2024-05-08 07:48:05 -06:00
Christopher Cookman e93b08d835
Add channel ids to startup log 2024-05-08 07:46:11 -06:00
Christopher Cookman ca9cd1a671
Add console log message for startup completion 2024-05-08 07:44:44 -06:00
Christopher Cookman 1d5746de33
Update product text title to include product ID 2024-05-08 07:42:10 -06:00
Christopher Cookman a436c74bdd
Add ephemeral flag to interaction reply 2024-05-08 07:40:22 -06:00
Christopher Cookman c6964ee0e9
[+] Ability to get product text via discord 2024-05-08 06:51:26 -06:00
Christopher Cookman c814f4602a
Show product URL separately 2024-05-08 06:11:41 -06:00
Christopher Cookman 5cb0ff6cd9
Add NTFY push support 2024-05-08 00:44:03 -06:00
Christopher Cookman 2d80073a56
add debug flag 2024-05-08 00:25:57 -06:00