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:
parent
b4a4188dc8
commit
07d094add9
@ -82,7 +82,7 @@ public class Download extends Command {
|
|||||||
event.getGuildId().isPresent() ? event.getGuildId().get() : null);
|
event.getGuildId().isPresent() ? event.getGuildId().get() : null);
|
||||||
embed.setColor(Color.MEDIUM_SEA_GREEN).setDescription("Everything went well. " +
|
embed.setColor(Color.MEDIUM_SEA_GREEN).setDescription("Everything went well. " +
|
||||||
"Congratulations and thank you" +
|
"Congratulations and thank you" +
|
||||||
(event.getMember().isPresent() ? " <@!" + event.getMember().get().getId() + "> " : " ")
|
(event.getMember().isPresent() ? " <@!" + event.getMember().get().getId().asString() + "> " : " ")
|
||||||
+ "for your contribution!");
|
+ "for your contribution!");
|
||||||
embed.addField("You imported", blocks.size() + " lines into my database", false);
|
embed.addField("You imported", blocks.size() + " lines into my database", false);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user