Skip to content

Commit

Permalink
Set rsn command should also update display name db record
Browse files Browse the repository at this point in the history
  • Loading branch information
SoAJeff committed Jan 25, 2022
1 parent 1b8feff commit a68eea2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public Mono<Void> execute(MessageCreateEvent event) {
.info("Assigning RSN: " + name + " for user " + member.getUsername() + "#" + member
.getDiscriminator());
userUtility.updateKnownNameForUser(name, member.getId().asLong(), member.getGuildId().asLong());
userUtility.updateDisplayNameForUser(name, member.getId().asLong(), member.getGuildId().asLong());
success = true;
});
if (success) {
Expand Down

0 comments on commit a68eea2

Please sign in to comment.