Small refactors that improve memory usage and code cleanliness #30
No reviewers
Labels
No labels
breaking
bug
dependency
docs
enhancement
feature
misc
refactor
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ElZeckos/Temp-Voice-URC!30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/refactor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
TLDR;
Small refactors that improve memory usage and code cleanliness without changing behavior.
Small refactors that improve memory usage and code cleanliness without changing behavior.
Created a shared REST module to avoid duplicate Discord API clients.
Cached WebhookClients in bridge handler to prevent memory bloat.
Restored echo prevention with bounded Map (auto-expires after 5s).
Added better error logging for guild events and command registration.
Simplified README by removing redundant content.
@ElZeckos Test before merging this PR to main and release it.
Fix memory leak and clean up duplicate REST clientto Small refactors that improve memory usage and code cleanliness