@Nullable open static fun resolveMember(@NotNull input: @NotNull String, @NotNull guild: @NotNull Guild): @Nullable Member?
Resolves an Role entity by a mention, it's id or it's name (case-sensitive).
input - String: e.g an user input that should get parsed for mentions
guild - Guild: the Guild the member is on
Return
Member?: the entity or null if there was no entity found for that input
@Nullable open static fun resolveMember(@NotNull input: @NotNull String, @NotNull guild: @NotNull Guild, ignoreCase: Boolean): @Nullable Member?
Resolves an TextChannel entity by a mention, it's id or it's name.
input - String: e.g an user input that should get parsed for mentions
guild - Guild: the Guild the member is on
ignoreCase - Boolean: Whether the name should be resolved case-sensitive or not
Return
Member?: the entity or null if there was no entity found for that input