GetGuildRoleList

get
GetGuildRoleList

exports.Badger_Discord_API:GetGuildRoleList()
This export allows you to get all of the server's roles with their role names and role IDs correspondent to each other.
Request
Response
Request
‚Äč
Response
200: OK
Returns associative array if found:
{
['Founder'] = 597446100206616596,
['Staff'] = 597450498060058624,
['Java Developer'] = 597928420017438725
}
404: Not Found
Returns nil if not found:
nil