cleanup and reformat
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-09-05 00:06:35 +02:00
parent 14b54501fd
commit fd2970fa59
81 changed files with 1245 additions and 766 deletions

View File

@@ -30,19 +30,19 @@ public class DiceRollCommand extends SlashCommandImpl
OptionMapping textOption = event.getOption("query");
String messageContent = "";
if(textOption != null)
if (textOption != null)
{
messageContent = textOption.getAsString();
messageContent = textOption.getAsString();
}
String[] args = messageContent.split("\\s");
MessageResponse response = DiceRoll.buildResponse(event.getUser(), args);
if(response.content() != null)
if (response.content() != null)
{
event.getHook().editOriginal(response.content()).queue();
} else if(response.embed() != null)
} else if (response.embed() != null)
{
event.getHook().editOriginalEmbeds(response.embed()).queue();
}