Fixed Snowflake showing as itself instead of the id as a string

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2020-11-01 00:20:21 +01:00
parent b4a4188dc8
commit 07d094add9

View File

@ -82,7 +82,7 @@ public class Download extends Command {
event.getGuildId().isPresent() ? event.getGuildId().get() : null);
embed.setColor(Color.MEDIUM_SEA_GREEN).setDescription("Everything went well. " +
"Congratulations and thank you" +
(event.getMember().isPresent() ? " <@!" + event.getMember().get().getId() + "> " : " ")
(event.getMember().isPresent() ? " <@!" + event.getMember().get().getId().asString() + "> " : " ")
+ "for your contribution!");
embed.addField("You imported", blocks.size() + " lines into my database", false);
} else {