Fix build errors
This commit is contained in:
parent
0e256e4cb5
commit
cfa7aef333
@ -42,12 +42,12 @@ public class DiceRollCommand extends SlashCommandImpl
|
|||||||
|
|
||||||
MessageResponse response = DiceRoll.buildResponse(event.getUser(), args);
|
MessageResponse response = DiceRoll.buildResponse(event.getUser(), args);
|
||||||
|
|
||||||
if(response.getContent() != null)
|
if(response.content() != null)
|
||||||
{
|
{
|
||||||
event.getHook().editOriginal(response.getContent()).queue();
|
event.getHook().editOriginal(response.content()).queue();
|
||||||
} else if(response.getEmbed() != null)
|
} else if(response.embed() != null)
|
||||||
{
|
{
|
||||||
event.getHook().editOriginalEmbeds(response.getEmbed()).queue();
|
event.getHook().editOriginalEmbeds(response.embed()).queue();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user