Changed author to submitter
This commit is contained in:
parent
be3b109ebe
commit
60f9b4e3b2
@ -46,7 +46,7 @@ public class RemoveOutfitCommand extends Command {
|
|||||||
EmbedBuilder embed = new EmbedBuilder()
|
EmbedBuilder embed = new EmbedBuilder()
|
||||||
.setTitle("Confirm Outfit Deletion")
|
.setTitle("Confirm Outfit Deletion")
|
||||||
.setThumbnail(outfit.getLink())
|
.setThumbnail(outfit.getLink())
|
||||||
.setAuthor(ctx.getApi().getYourself())
|
.setAuthor(ctx.getApi().getUserById(outfit.getSubmitter()).join())
|
||||||
.setUrl(outfit.getLink())
|
.setUrl(outfit.getLink())
|
||||||
.setFooter(String.format("Tag: %s", outfit.getTag()))
|
.setFooter(String.format("Tag: %s", outfit.getTag()))
|
||||||
.addField("Added", outfit.getCreated().toString(), true)
|
.addField("Added", outfit.getCreated().toString(), true)
|
||||||
@ -72,6 +72,7 @@ public class RemoveOutfitCommand extends Command {
|
|||||||
.setTitle("Deletion Successful!")
|
.setTitle("Deletion Successful!")
|
||||||
.setDescription(String.format("Outfit %s marked as deleted", outfit.getId()));
|
.setDescription(String.format("Outfit %s marked as deleted", outfit.getId()));
|
||||||
ctx.reply(response);
|
ctx.reply(response);
|
||||||
|
// TODO: Log the action in FSBot-Log
|
||||||
|
|
||||||
} else if (event.getEmoji().equalsEmoji(EmojiParser.parseToUnicode(":octagonal_sign:"))) {
|
} else if (event.getEmoji().equalsEmoji(EmojiParser.parseToUnicode(":octagonal_sign:"))) {
|
||||||
// Do nothing
|
// Do nothing
|
||||||
|
Loading…
Reference in New Issue
Block a user