Skip to content

wc.fetchRole()

paige edited this page Aug 28, 2023 · 2 revisions
  • Description: Fetches a role by ID or mention

Parameters

  • ID/Mention String: Role ID or mention to fetch

Setup

await wc.fetchRole("Role ID")

await wc.fetchRole("Role ID")

await wc.fetchRole("<@&Role ID>")

await wc.fetchRole("<@&Role ID>")
Clone this wiki locally