mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-26 17:05:01 +00:00
Mention the user who completes the report so we can have their current Discord name (includes their current name & tag in-case they delete their account)
This commit is contained in:
parent
9c91166319
commit
bf41d08580
@ -58,7 +58,7 @@ public class MessageReactionListener extends ListenerAdapter
|
|||||||
// We don't need other embeds... yet?
|
// We don't need other embeds... yet?
|
||||||
final MessageEmbed embed = message.getEmbeds().get(0);
|
final MessageEmbed embed = message.getEmbeds().get(0);
|
||||||
final MessageBuilder archiveMessageBuilder = new MessageBuilder();
|
final MessageBuilder archiveMessageBuilder = new MessageBuilder();
|
||||||
archiveMessageBuilder.setContent("Report completed by " + Discord.deformat(completer.getUser().getAsTag()));
|
archiveMessageBuilder.setContent("Report completed by " + completer.getUser().getAsMention() + " (" + Discord.deformat(completer.getUser().getAsTag() + ")"));
|
||||||
archiveMessageBuilder.setEmbed(embed);
|
archiveMessageBuilder.setEmbed(embed);
|
||||||
final Message archiveMessage = archiveMessageBuilder.build();
|
final Message archiveMessage = archiveMessageBuilder.build();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user