wc.fetchGuildRole() - shysolocup/willclient GitHub Wiki
- Description: Fetches a guild role by ID or mention
- ID
String
: Role ID or mention to fetch - ?Guild
Guild
: Guild to fetch the user from (defaults to the guild it was used in)
await wc.fetchGuildRole("Role ID")
await wc.fetchGuildRole("Role ID", Guild)
await wc.fetchGuildRole("<@&Role ID>")
await wc.fetchGuildRole("<@&Role ID>", Guild)