Commit Graph

111 Commits

Author SHA1 Message Date
Logan Cusano
c31ccff5ca Added JSDoc to Join wrapper and updated wrapper to also take just a client ID string 2023-06-03 16:03:07 -04:00
Logan Cusano
d2186e9471 Added a join command #7
- Added a JSON example for Known Client IDs
- Implemented a custom slash command builder to add the available presets as options in the discord command
2023-06-03 15:47:07 -04:00
Logan Cusano
07743cf8a3 Updated requirements and versions 2023-06-03 15:43:15 -04:00
Logan Cusano
18afa7c058 Added extra logging when deploying commands 2023-06-03 15:42:40 -04:00
Logan Cusano
a5cff9ec7e Check if the returned data from HTTP is valid JSON and parse if so, return the string if not 2023-06-03 15:42:23 -04:00
Logan Cusano
9450b78bd4 Updated all functions to return nodeObjects instead of SQL response 2023-06-03 15:41:29 -04:00
Logan Cusano
5757c51fa3 Added new utils
- isJsonString
    - This can be used to check if a string is valid json before parsing it
- getMembersInRole
    - This can be used to check online/offline/all members in a role
- (unused) SanitizePresetName
2023-06-03 15:40:48 -04:00
Logan Cusano
fa91cbc887 Used env var for the listening port 2023-06-03 15:39:16 -04:00
Logan Cusano
7fbaf31335 Updated server intents 2023-06-03 15:38:40 -04:00
Logan Cusano
0280cb5384 Update gitignore 2023-06-03 15:38:24 -04:00
Logan Cusano
a298be40d5 Accidentally set the wrong variable for the device ID 2023-06-03 15:32:08 -04:00
Logan Cusano
43d60a748b Remove device ID requirement for API
- The device ID is handled by the .env file
2023-06-03 15:28:46 -04:00
Logan Cusano
51f517cae5 Fixed node '^=' to python '>=' 2023-06-03 15:03:18 -04:00
Logan Cusano
06cb2cc352 Fix logging namespace and windows launch 2023-06-03 15:00:42 -04:00
Logan Cusano
5ce525f2b5 Updating install script #6 2023-06-03 02:51:19 -04:00
Logan Cusano
69fdc63983 Fixing linux bug, added noisegate switch to the call 2023-05-27 21:34:19 -04:00
Logan Cusano
a9d3c33af2 Improved client bot logging 2023-05-27 21:17:31 -04:00
Logan Cusano
3719fce86a Update client package.json 2023-05-27 18:25:12 -04:00
Logan Cusano
ba927bae8c Implement install and update system for the bot
- LINUX OR WINDOW WSL ONLY
2023-05-27 17:00:57 -04:00
79fe542143 Merge pull request 'Implement Python Discord Bot to Handle Voice Connection' (#5) from feature/implement-discordpy into master
Reviewed-on: #5
2023-05-27 16:19:38 -04:00
Logan Cusano
7512c8e1df Removing the static ENV var for nearby systems 2023-05-21 15:22:43 -04:00
Logan Cusano
c882fb63d3 Moving PDAB to pdab 2023-05-20 15:24:28 -04:00
Logan Cusano
7fc61bbf2e renaming PDAB to pdab to try to fix git issues 2023-05-20 15:20:53 -04:00
Logan Cusano
e1c2ce6484 Updating and streamlining radio controller side 2023-05-20 15:18:50 -04:00
Logan Cusano
c4070cc420 Initial working radio controller for OP25 2023-05-20 14:31:43 -04:00
Logan Cusano
0f003f907e Discord voice bot handler working 2023-05-20 00:01:12 -04:00
Logan Cusano
e7b802839e Initial removal of internal discord bot 2023-05-18 22:53:25 -04:00
Logan Cusano
48999e0d63 Resolved bug in Client with .env config migration 2023-05-07 19:31:53 -04:00
Logan Cusano
2c25be1de7 Removed Embedded discord 2023-05-07 19:31:33 -04:00
Logan Cusano
cf04e37f89 Implement example .env files 2023-05-07 04:48:19 -04:00
Logan Cusano
d04cc8d5b1 Update gitignore for .env files 2023-05-07 04:43:46 -04:00
Logan Cusano
4662f37a72 Removing real .env files 2023-05-07 04:43:00 -04:00
Logan Cusano
be34c5381b Removing real .envs 2023-05-07 04:42:05 -04:00
Logan Cusano
ed79403a9b Remove config file for client, moved to .env 2023-05-07 04:40:46 -04:00
e0b6e567c1 Merge pull request 'feature/Integrate-Emmelia-into-Core' (#4) from feature/Integrate-Emmelia-into-Cor into master
Reviewed-on: #4
2023-05-07 04:12:32 -04:00
205f285e0a Merge branch 'master' into feature/Integrate-Emmelia-into-Cor 2023-05-07 04:12:01 -04:00
Logan Cusano
4e67e21651 Update debugging to log to a file (for running as a service) 2023-05-07 04:00:51 -04:00
Logan Cusano
9b2d0c4bbb Implement Node Monitor Service
- Check in with online nodes every n ms
- Update nodes that do not reply
- Added node object record helper
- Updated mysql wrapper for updating node info to accept bool or number
2023-05-07 02:41:58 -04:00
Logan Cusano
f77eb5444a Updating the running config as well as the file 2023-05-06 17:18:21 -04:00
Logan Cusano
177d25e54e Didn't update require statement 2023-05-06 17:16:01 -04:00
Logan Cusano
6880c5952a Resolved bug updating the config 2023-05-06 17:14:30 -04:00
Logan Cusano
a14c56b645 Bug with whitespaces 2023-05-06 17:04:17 -04:00
Logan Cusano
35b81758e3 Bug in getting the IP address on windows 2023-05-06 16:44:39 -04:00
Logan Cusano
7871b07113 Improving config handling & startup logic 2023-05-06 16:40:15 -04:00
Logan Cusano
6682d97156 Improve client controller config handling 2023-05-06 16:22:20 -04:00
Logan Cusano
7b2215e9da Remove config files in favor of environment variables 2023-05-06 15:22:28 -04:00
Logan Cusano
b0e52920a7 Merge of /utilities 2023-05-06 15:09:19 -04:00
Logan Cusano
f3a4f25f85 Initial Emmelia merge 2023-05-06 14:56:51 -04:00
6e8af5dbcc Merge pull request 'feature/implement-bot-into-client-core' (#2) from feature/implement-bot-into-client-core into master
Reviewed-on: #2
2023-05-06 14:44:57 -04:00
Logan Cusano
4fbed169ab Fixed audio stopping bug
- Added basic noisegate
- Handling more voice connection statuses
2023-05-06 14:09:09 -04:00