Skip to content

Commit

Permalink
[AB-xxx] changing displayed user for already existing user in modmail…
Browse files Browse the repository at this point in the history
… to be the target user
  • Loading branch information
Sheldan committed Dec 25, 2023
1 parent 350a634 commit c71f5f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public CompletableFuture<CommandResult> executeAsync(CommandContext commandConte
ModMailThreadExistsModel model = ModMailThreadExistsModel
.builder()
.existingModMailThread(existingThread)
.executingMemberDisplay(MemberNameDisplay.fromMember(commandContext.getAuthor()))
.executingMemberDisplay(MemberNameDisplay.fromMember(targetUser))
.build();
List<CompletableFuture<Message>> futures = channelService.sendEmbedTemplateInTextChannelList(MODMAIL_THREAD_ALREADY_EXISTS_TEMPLATE, model, commandContext.getChannel());
return FutureUtils.toSingleFutureGeneric(futures).thenApply(aVoid -> CommandResult.fromIgnored());
Expand Down

0 comments on commit c71f5f0

Please sign in to comment.