getMentionable method

dynamic getMentionable(
  1. String optionName
)

Returns an value if the command has the designed option

Example :

dynamic mentionable = interaction.getMentionable('option_name');

Implementation

dynamic getMentionable (String optionName) {
  return params[optionName];
}