getMemberOrFail method
Returns an instance of GuildMember if the command has the designed option
Example :
final GuildMember member = interaction.getMemberOrFail('option_name');
Implementation
GuildMember getMemberOrFail (String optionName) {
return guild!.members.cache.getOrFail(params[optionName]);
}