Commit Graph
100 Commits
Author SHA1 Message Date
Bradley 6012351b3e Attempting to protect against call echo AND fix new call registry which wasn't working correctly it seems... 2024-01-07 15:30:15 -05:00
Bradley 934fa4d37f Setting auto commit on the db connection to true because apparently it defaults to false. Meaning nothing gets written to the DB 2024-01-06 15:48:08 -05:00
Bradley 44982fd439 Pushing up an attempted fix for breadmixer not being able to submit transcriptions to the database 2024-01-06 15:35:12 -05:00
Bradley 46fdebd503 Another minor fix for breadmixer, specifically the final ffmpeg call 2024-01-05 19:34:16 -05:00
Bradley c294489a60 Attempted fixes for breadmixers ffmpeg issues 2024-01-05 19:32:17 -05:00
Bradley 2cf2ec7d88 Trying to figure out what is wrong with breadmixer running the FFMPEG command that I know for certain works 2024-01-05 19:06:24 -05:00
Bradley 2f03a0de4c Fix for breadbot filter strings 2024-01-05 18:54:45 -05:00
Bradley 3b33bb6ee4 Cleanup, database structure backup, and an additional log item for breadmixer to try to figure out where the ffmpeg command structure is wrong 2024-01-05 18:51:11 -05:00
Bradley f7e0c4b15a Some cleanup, and transitioning breadbot.js to use winston for logging 2024-01-04 20:27:31 -05:00
Bradley 9fc901a2ef Pushing changes to sqlutil to add winston logging 2024-01-04 19:49:44 -05:00
Bradley b7283c17b6 A minor change to how servers are registered, bad logic 2024-01-03 21:06:50 -05:00
Bradley 40f6ea7cd7 A minor modification to how edited messages are handled to deal with how discord changes links to gifs and other media to what I assume are embeds 2024-01-02 21:50:47 -05:00
Bradley cb94d94943 Drastically lowering the end time duration of a speaking session in voice calls to see if event emitter warnings go away 2024-01-02 21:32:45 -05:00
Bradley 00b834c40b Adding another element to this to detect when someone stops speaking 2024-01-02 21:19:46 -05:00
Bradley a294b8c668 Minor fixes and adding a forgotten component of ending a call 2024-01-02 20:55:16 -05:00
Bradley 263405141b A number of changes to address issues and missing pieces from the voice call monitoring components of Breadbot 2024-01-02 20:39:23 -05:00
Bradley 089bb99119 Commands for breadbot seem to be missing, modifying deploy-command to fix this 2023-12-31 09:42:39 -05:00
Bradley 2f51c18a69 Trying some upgrades to command loading 2023-12-31 09:39:25 -05:00
Bradley 7afbb169e2 Another sql syntax fix 2023-12-30 18:53:32 -05:00
Bradley bdb9d4b807 Fixing a connection pool config to allow multiple statements per query 2023-12-30 18:37:28 -05:00
Bradley ed67193761 Fixing minor SQL syntax error 2023-12-30 18:34:36 -05:00
Bradley 18c9be444d Fixing a minor issue when adding messages 2023-12-30 18:30:10 -05:00
Bradley 40956e5c9e Adding message modify, delete, and attachment tracking (untested) 2023-12-30 17:32:44 -05:00
Bradley 4de56c1af8 Sort returns none, which was deleting the file dictionary items 2023-12-25 20:09:44 -05:00
Bradley 7b9a7fb339 Verbosity for breadmixer to try to figure out whats wrong 2023-12-25 19:23:20 -05:00
Bradley 3039bf65bd Adding breadmixer changes 2023-12-16 12:51:35 -05:00
Bradley 850e7288d1 A little more work on breadmixer 2023-11-29 20:59:50 -05:00
Bradley 3bbba3217a More fixes for dragging milliseconds out of the time diff 2023-11-24 20:50:22 -05:00
Bradley 7b0fde230d Really need milliseconds for seconds from starttime to be accurate 2023-11-24 20:46:42 -05:00
Bradley 511f4bf69e Fixing datatype coersion problems 2023-11-24 20:43:24 -05:00
Bradley 78f1232f5b Adding BreadMixer file indexing 2023-11-24 20:41:29 -05:00
Bradley 41683fe098 Ok, trying s instead of d, even though that's technically not correct 2023-11-24 20:16:03 -05:00
Bradley 61b617db04 I think we're back to typal pickiness 2023-11-24 20:13:42 -05:00
Bradley 740213712a Ok, the parameterization for queries is SUPER picky 2023-11-24 20:12:23 -05:00
Bradley 8cdd7d3974 It's not type coersion it's not seeing something as a tuple 2023-11-24 20:11:05 -05:00
Bradley e7681bf7cd Variable type coersion seems to be a problem with parameterized queries 2023-11-24 20:09:55 -05:00
Bradley 7bee11e4f4 Initial work on BreadMixer 2023-11-24 19:56:03 -05:00
Bradley 2954d1b304 Found something, might have been a node-crc dependency issue 2023-11-24 15:54:38 -05:00
Bradley 4868f6930e Trying a PCM write 2023-11-24 15:17:40 -05:00
Bradley 42f04a552a Attempting to write raw OPUS to file 2023-11-24 15:02:03 -05:00
Bradley 00de13acd2 Switched back to the old version and turning CRC back on 2023-11-22 21:57:26 -05:00
Bradley 9a5942facc Trying something because the files I'm getting are playable, but only under specify conditions and not with FFMEG 2023-11-22 21:40:34 -05:00
Bradley bdc0ed0fad Setting CRC false on the Ogg bitstream object to see if the problem with the CRC component goes away 2023-11-21 19:49:13 -05:00
Bradley 55490c4b04 Adding node-crc dependency 2023-11-21 19:33:30 -05:00
Bradley 66cec55bb6 Found a way to be more like the example code. Still not sure where the 2.0 alpha of prism comes from, but what the example uses I now have 2023-11-21 19:25:51 -05:00
Bradley 16b41fad2b Modifying versions and restoring the PCM version of audio saving 2023-11-21 18:46:06 -05:00
Bradley ab3ef81df9 Trying to write just straight ogg rather than convert to PCM, which seems to be the issue 2023-11-21 18:06:32 -05:00
Bradley 0f68356254 Possibly working version of joining voice call and collecting audio 2023-11-21 17:38:01 -05:00
Bradley 855a91e340 Trying something I found on Stack Overflow 2023-11-19 19:49:28 -05:00
Bradley 8ef2ede2c0 Trying another logging check to figure out this cache 2023-11-19 19:46:21 -05:00
Bradley 32954a2536 Fixed the problem with registering a new call id 2023-11-19 19:42:21 -05:00
Bradley a689783b36 Another commit 2023-11-19 19:39:07 -05:00
Bradley 9b0f381673 I DID PRINT AGAIN, JAVASCRIPT IS NOT PYTHON 2023-11-19 19:31:29 -05:00
Bradley 1eb4da8729 More debugging 2023-11-19 19:29:57 -05:00
Bradley 85fc4805dc Trying to fix the call registration return 2023-11-19 19:25:00 -05:00
Bradley f7bcbe348b Python is not Javascript, print doesn't exist 2023-11-19 19:22:00 -05:00
Bradley 2307119ad7 More random prints 2023-11-19 19:20:32 -05:00
Bradley d3daa299c0 Trying another sqlutil fix for inserting call state 2023-11-19 19:14:32 -05:00
Bradley abf8f10668 Modifications to fix some bugs with inputting ID 2023-11-19 19:10:55 -05:00
Bradley acaedb434c Adding a bunch of random minor changes to sqlutil to fix a lambda parameter problem 2023-11-19 19:00:41 -05:00
Bradley e64811a179 More debug messages 2023-11-19 18:57:34 -05:00
Bradley 113f6cbbd5 Adding a random debug message to see if what I think is happening is actually happening 2023-11-19 18:52:51 -05:00
Bradley 7c4b5c52f1 Fixing a minor object reference issue 2023-11-19 18:46:52 -05:00
Bradley b5ded6acaf Adding a bunch of debug logging 2023-11-19 18:44:22 -05:00
Bradley 08a9d0addd Another slight modification to make sure voice audio data is stored in a sensible location 2023-11-19 18:37:26 -05:00
Bradley aa1789da97 Adding a gitignore entry for media capture testing 2023-11-19 18:36:03 -05:00
Bradley 9e0c78d939 Major modifications to try out actual audio recording 2023-11-19 18:32:16 -05:00
Bradley d82c569363 Added a large amount of untested voice management code, stopping just short of actually connecting to/disconnecting from calls 2023-11-14 21:50:42 -05:00
Bradley 6effe2983e Some final updates for today, trying to keep track of how many people are in a particular voice channel 2023-11-12 14:54:42 -05:00
Bradley a729545e01 Fixing comparison states 2023-11-12 11:01:07 -05:00
Bradley 7e79b2c3b4 Adding an actual detection that says what user joined where 2023-11-12 10:58:09 -05:00
Bradley 87be8ca8db Doing to some state value checking now that the event works 2023-11-12 10:49:22 -05:00
Bradley 5507fea98e I think some misplaced brackets were causing the issues 2023-11-12 10:16:41 -05:00
Bradley 92df0cf4a7 Trying something simpler for VoiceStateChange notification just to see if the event works 2023-11-12 10:12:57 -05:00
Bradley 944f8d4e72 I'm pretty sure I used the wrong intent 2023-11-12 10:07:52 -05:00
Bradley 27e9fdb743 Missing an intent to capture the event that I want 2023-11-12 10:03:57 -05:00
Bradley b9a699c4c2 Adding preliminary test for Voice State Changed 2023-11-12 10:01:41 -05:00
Bradley 734aa58e67 Adding a 'Database Backup', it's not perfect, the queries are out of order, but it'll do for now if something blows up 2023-11-11 22:31:59 -05:00
Bradley dc323ffeb1 Some final cleanup, and README adjustments 2023-11-11 22:18:54 -05:00
Bradley 9fd8f3c289 Cleanup, and more logic fixes 2023-11-11 22:09:26 -05:00
Bradley c82fceeef1 Fixing some more logic problems 2023-11-11 22:02:31 -05:00
Bradley 01a72ca544 Fixing a logic error 2023-11-11 21:58:56 -05:00
Bradley 8befc32453 Trying a different way of handling the rows variable 2023-11-11 21:57:59 -05:00
Bradley 4a3e470945 Adding some more console noise for debugging 2023-11-11 21:56:07 -05:00
Bradley 7c6389d421 A significant amount of reimplementation 2023-11-11 21:51:34 -05:00
Bradley ac672e73d0 Pretty sure I have a working chain example 2023-11-11 21:29:05 -05:00
Bradley 43546d93fe More changes to promise chain testing 2023-11-11 21:23:49 -05:00
Bradley 6ea91cd1c9 Testing some stuff with promises and return values 2023-11-11 21:20:25 -05:00
Bradley 0ad30722ae Added more modifications, await doesn't seem to be respected in the way I'm thinking, so more logging! 2023-11-11 20:35:30 -05:00
Bradley dfeb3d5148 Trying to fix issues again, this time with the truthiness of promise objects 2023-11-11 20:21:24 -05:00
Bradley 6cbf6dc718 Trying to unwind some async/await mess 2023-11-11 20:17:59 -05:00
Bradley e24cc98fec Fixed some syncronization issues (I think) 2023-11-11 20:09:03 -05:00
Bradley a0e979e0bc The field for the message sender is author, not user 2023-11-11 19:52:27 -05:00
Bradley 69a711a4a4 Added some fancy intents to try to fix BreadBots deafness to new messages 2023-11-11 19:48:08 -05:00
Bradley 89e73e866b Adding greater console logging for event misfire 2023-11-11 19:43:23 -05:00
Bradley 77b526ca21 Added preliminary BreadBot message surveillance 2023-11-11 19:39:07 -05:00
Bradley 881b7f6359 I think I found a missing not directive 2023-11-11 18:37:24 -05:00
Bradley ece032ff5a Attempting to fix server already registered handling 2023-11-11 18:31:56 -05:00
Bradley dabb635b6b Trying another thing to fix escapement issues 2023-11-11 18:22:07 -05:00
Bradley 2de2202187 Fixing escapement issues 2023-11-11 18:18:09 -05:00