Deprecated
API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.
import { type RESTPostAPIGuildRoleJSONBody } from "https://deno.land/x/discord_api_types@0.37.81/v8.ts";
Properties
optional
permissions: Permissions | null | undefinedBitwise value of the enabled/disabled permissions
Whether the role should be displayed separately in the sidebar
The role's icon image (if the guild has the ROLE_ICONS
feature)
The role's unicode emoji as a standard emoji (if the guild has the ROLE_ICONS
feature)