forked from Fascinated/Bat
update pp size command
This commit is contained in:
parent
16bbda57f6
commit
2627b80148
@ -37,9 +37,17 @@ public class PPSizeCommand extends BatCommand {
|
|||||||
Member targetMember = userOption.getAsMember();
|
Member targetMember = userOption.getAsMember();
|
||||||
assert targetMember != null; // This should never be null
|
assert targetMember != null; // This should never be null
|
||||||
|
|
||||||
|
int size = (int) MathUtils.random(1, 12);
|
||||||
event.replyEmbeds(EmbedUtils.genericEmbed()
|
event.replyEmbeds(EmbedUtils.genericEmbed()
|
||||||
.setDescription(new EmbedDescriptionBuilder("PP Size")
|
.setDescription(new EmbedDescriptionBuilder("PP Size")
|
||||||
.appendLine("The size of " + targetMember.getAsMention() + "'s pp is " + (int) (MathUtils.random(1, 8)) + " inches", false)
|
.appendLine("""
|
||||||
|
The size of %s's pp is %s inches
|
||||||
|
8%sD
|
||||||
|
""".formatted(
|
||||||
|
targetMember.getAsMention(),
|
||||||
|
size,
|
||||||
|
"=".repeat(size)
|
||||||
|
), false)
|
||||||
.build())
|
.build())
|
||||||
.build()).queue();
|
.build()).queue();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user