toGuildMember method

GuildMember? toGuildMember(
  1. Snowflake guildId
)

Return GuildMember of Guild context for this

Implementation

GuildMember? toGuildMember (Snowflake guildId) {
  MineralClient client = ioc.use<MineralClient>();
  return client.guilds.cache.get(guildId)?.members.cache.get(_id);
}