-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor condition checks and remove deconstruct handle
Simplified and consolidated the conditional check in the MemberUpdateResponder.cs for better readability, and improved efficiency. The redundancies in DiscordHandleHelper.cs were eliminated by removing the deconstruct handle function as it was unused and not necessary. A condition check was added for when the discriminator is zero to just return the username.
- Loading branch information
1 parent
51aa03f
commit 3f5a544
Showing
2 changed files
with
2 additions
and
9 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