Skip to content

refactor: Fix typos and suppress unhandled VOICE_CHANNEL_START_TIME_UPDATE event#1561

Merged
Jaskowicz1 merged 1 commit intobrainboxdotcc:devfrom
Sim-hu:fix/misc-typos-and-unhandled-event
Mar 22, 2026
Merged

refactor: Fix typos and suppress unhandled VOICE_CHANNEL_START_TIME_UPDATE event#1561
Jaskowicz1 merged 1 commit intobrainboxdotcc:devfrom
Sim-hu:fix/misc-typos-and-unhandled-event

Conversation

@Sim-hu
Copy link

@Sim-hu Sim-hu commented Mar 21, 2026

A few small fixes I noticed while looking through the codebase:

  • sslconnection.h: The doxygen comment for get_bytes_out() had a garbled string (Get the bytes out objectGet total bytes sent). Cleaned it up to match the style of get_bytes_in() right below it.
  • handle_frame.cpp: The DAVE voice debug log said "New of clients in voice channel" which is missing a word — changed to "New number of clients in voice channel".
  • discordevents.cpp: VOICE_CHANNEL_START_TIME_UPDATE is a gateway event that Discord sends (e.g. when bots are moved between voice channels), but it wasn't in the event map. This caused noisy Unhandled event debug log lines. Added it as a silently-ignored entry, same as the other events we don't need to handle like VOICE_CHANNEL_STATUS_UPDATE.

Code change checklist

  • I have ensured that all methods and functions are fully documented using doxygen style comments.
  • My code follows the coding style guide.
  • I tested that my change works before raising the PR.
  • I have ensured that I did not break any existing API calls.
  • I have not built my pull request using AI, a static analysis tool or similar without any human oversight.

…DATE event

- Fix doxygen comment for get_bytes_out() in sslconnection.h
- Fix "New of clients" -> "New number of clients" in DAVE voice log message
- Add VOICE_CHANNEL_START_TIME_UPDATE to event map to suppress debug noise
@netlify
Copy link

netlify bot commented Mar 21, 2026

Deploy Preview for dpp-dev ready!

Name Link
🔨 Latest commit 76789b3
🔍 Latest deploy log https://app.netlify.com/projects/dpp-dev/deploys/69be59e55af77e0008f4b004
😎 Deploy Preview https://deploy-preview-1561--dpp-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@CLAassistant
Copy link

CLAassistant commented Mar 21, 2026

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added documentation Improvements or additions to documentation code Improvements or additions to code. labels Mar 21, 2026
@Jaskowicz1 Jaskowicz1 changed the title Fix typos and suppress unhandled VOICE_CHANNEL_START_TIME_UPDATE event refactor: Fix typos and suppress unhandled VOICE_CHANNEL_START_TIME_UPDATE event Mar 21, 2026
@Jaskowicz1
Copy link
Contributor

Thanks for you first contribution! I've approved the PR and workflows, will merge when everything passes 😄

@braindigitalis
Copy link
Contributor

lgtm, thanks for the pr!

@Sim-hu
Copy link
Author

Sim-hu commented Mar 22, 2026

Thanks for the quick review!

@Jaskowicz1 Jaskowicz1 merged commit c468323 into brainboxdotcc:dev Mar 22, 2026
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code Improvements or additions to code. documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants