Skip to content

Commit

Permalink
use requestor as message link author instead of linked message author
Browse files Browse the repository at this point in the history
  • Loading branch information
danthe1st committed May 15, 2024
1 parent ea1e5a3 commit 0fc5cbc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void onMessageReceived(@NotNull MessageReceivedEvent event) {
messageChannel.getType().isThread() ? messageChannel.getIdLong() : 0,
List.of(ActionRow.of(
Button.link(m.getJumpUrl(), "Jump to Message"),
Button.secondary(InteractionUtils.createDeleteInteractionId(m.getAuthor().getIdLong()), "\uD83D\uDDD1️"))),
Button.secondary(InteractionUtils.createDeleteInteractionId(event.getAuthor().getIdLong()), "\uD83D\uDDD1️"))),
null));
}, e -> ExceptionLogger.capture(e, getClass().getSimpleName())));
}
Expand Down

0 comments on commit 0fc5cbc

Please sign in to comment.