- resolveRoles(
text: string,
roles: Collection<string, Role>,
caseSensitive?: boolean,
wholeWord?: boolean,
): Collection<Snowflake, Role> Parameters
- text: string
- roles: Collection<string, Role>
- caseSensitive: boolean = false
- wholeWord: boolean = false
Returns Collection<Snowflake, Role>
Resolves multiple roles from a string, such as an ID, a name, or a mention.