member property

GuildMember get member

Implementation

GuildMember get member {
  if (_interaction.guild == null) {
    throw BadContextException('You cannot have a GuildMember in this context (no guild)');
  }

  return _interaction.member!;
}