61 Commits

Author SHA1 Message Date
Logan Cusano
7802a4a865 Update bot presence when joining discord as well as when starting OP25 (through join command) 2025-06-29 20:52:01 -04:00
Logan Cusano
ef8045559c Update the presence of the bot when the op25 config is set, or the bot is started 2025-06-29 18:48:55 -04:00
Logan Cusano
0a82a9b6e6 Fix bug with token in join server 2025-06-29 18:02:20 -04:00
Logan Cusano
743e405ff6 Use the active token if one exists 2025-06-29 18:00:21 -04:00
Logan Cusano
f2fa623f4e Update the active token when a status update is requested 2025-06-29 02:52:02 -04:00
Logan Cusano
2e5f54a0f5 Check discord status for token on startup 2025-06-29 02:48:29 -04:00
Logan Cusano
0966c78521 Send the active token in the handshake (for reconnection) 2025-06-29 02:36:58 -04:00
Logan Cusano
663e2c8305 Convert freqs to string before sending to DRB API 2025-06-23 00:50:39 -04:00
Logan Cusano
66d65d65dd Add debug to client set config 2025-06-22 23:21:02 -04:00
Logan Cusano
01f892a6db Implement static config for server info 2025-06-22 22:08:25 -04:00
Logan Cusano
84135f1eb0 Replace env vars with persistent config 2025-06-13 22:01:14 -04:00
Logan Cusano
fa4fcbd18d fix typo 2025-06-07 23:40:07 -04:00
Logan Cusano
042c9b462d added debugging 2025-06-07 23:28:52 -04:00
Logan Cusano
c0d363cb79 Fix name 2025-06-07 23:24:35 -04:00
Logan Cusano
4a93cf5c71 replace requests with httpx 2025-06-07 23:24:02 -04:00
Logan Cusano
6b2aee72e0 Add default node nickname 2025-06-07 23:22:16 -04:00
Logan Cusano
f6cf6af719 Implement access token 2025-06-07 23:07:34 -04:00
Logan Cusano
54249016d3 Implement a basic retry system to avoid the app closing when disconnected from the server 2025-05-28 22:18:10 -04:00
Logan Cusano
6192f1d193 Revert endpoint change 2025-05-26 00:23:05 -04:00
Logan Cusano
cc604a82c7 fix request token endpoint 2025-05-26 00:18:05 -04:00
Logan Cusano
7bfd495a8f Fix copy mistake 2025-05-26 00:00:16 -04:00
Logan Cusano
3434e5ff65 Update get_status to actively fetch the status 2025-05-25 23:59:25 -04:00
Logan Cusano
ffec7e2045 Update config on OP25 changes via webhook 2025-05-25 23:50:03 -04:00
Logan Cusano
3393061b37 Fixed missed webhook param 2025-05-25 23:38:46 -04:00
Logan Cusano
b4068a83bc Made OP25 logic optional when joining discord 2025-05-25 23:35:54 -04:00
Logan Cusano
076134ad91 Add OP25 commands to websocket 2025-05-25 22:58:31 -04:00
Logan Cusano
67e655eb90 Remove comment 2025-05-25 22:06:16 -04:00
Logan Cusano
ea53f5da3d Update command reply 2025-05-25 21:56:26 -04:00
Logan Cusano
338704b6e8 add request ID to the args list 2025-05-25 21:50:37 -04:00
Logan Cusano
c098e429a0 Fix enum bug 2025-05-25 21:43:00 -04:00
Logan Cusano
fd812253fe Add response type to message 2025-05-25 21:36:41 -04:00
Logan Cusano
c2692dfcee Add get status function 2025-05-25 21:33:48 -04:00
Logan Cusano
607f0b4594 convert the guild ID strings to ints to check in bot response 2025-05-24 23:12:30 -04:00
Logan Cusano
9df1d77d6a refactored frequency_khz to frequencies 2025-05-24 18:39:00 -04:00
Logan Cusano
161af54388 Fix typo 2025-05-24 18:27:16 -04:00
Logan Cusano
7f61bf5239 Update request token endpoint URL and logic 2025-05-24 18:08:47 -04:00
Logan Cusano
db72792064 Updated keys 2025-05-23 22:07:13 -04:00
Logan Cusano
e1cfa22650 Changed naming 2025-05-11 20:36:47 -04:00
Logan Cusano
f17f7fc36a Implement config storage 2025-05-11 20:36:31 -04:00
Logan Cusano
52965f2a30 Update joining logic when the bot is already running 2025-05-02 23:52:55 -04:00
Logan Cusano
56d7d8e8fe Added global timeout and import for httpx 2025-04-27 03:46:44 -04:00
Logan Cusano
de8570d014 Unify the core request structure 2025-04-27 03:06:53 -04:00
Logan Cusano
19c0bd2ef8 Add join voice and closing prints 2025-04-27 03:01:54 -04:00
Logan Cusano
021a1541cc Fix defaults for cofig generation 2025-04-27 02:57:42 -04:00
Logan Cusano
f8fb251290 Fix config generation to always have all required params 2025-04-27 02:54:54 -04:00
Logan Cusano
0aa38a1eca Undo channels -> frequencies for API compat 2025-04-27 02:49:35 -04:00
Logan Cusano
44851d5c86 Fix type in config gen to_dict 2025-04-27 02:39:34 -04:00
Logan Cusano
a3ff5f6694 Add get for system type 2025-04-27 02:37:25 -04:00
Logan Cusano
b75d89b904 Another fixed await and frequencies typo 2025-04-27 02:33:37 -04:00
Logan Cusano
7bf755d864 Fix missed await 2025-04-27 02:27:40 -04:00