getIntegerOrFail method
Returns an int or null if the command has the designed option
Example :
final int value = interaction.getIntegerOrFail('option_name');
Implementation
int getIntegerOrFail (String optionName) {
return params[optionName];
}