v1
latestOpenAPI 3.0.12026-07-17310206.9 KBFetches all roles in a Discord guild.
This function retrieves a list of all roles within a specific Discord guild. It takes a guild ID as input and returns a Promise that resolves to an array of role objects. This can be useful for managing permissions, displaying role information, or performing role-based operations within a Discord bot or application.
post/fetchRoles
Request body
Response
Successful response