-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor suggestion autocompleter and improve event handling
This update streamlines code in SuggestionAutocompleter by grouping suggestion retrieval operations and abstracting formatted AutocompleteResult creation into a separate method. Additionally, it extends EventHandler through addition of AuditLogCreated event. NewLogCommandService is also tweaked to utilize this new event for UserBanned and UserUnbanned events, providing improved accuracy and efficiency during these circumstances.
- Loading branch information
1 parent
63afa4a
commit 157dde4
Showing
3 changed files
with
67 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters