Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/discord_api_types/v6.ts>RESTPostAPIGuildRoleJSONBody

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface RESTPostAPIGuildRoleJSONBody
Deprecated
Deprecated

API v6 is deprecated and the types will not receive further updates, please update to v8.

import { type RESTPostAPIGuildRoleJSONBody } from "https://deno.land/x/discord_api_types@0.37.62/v6.ts";

Properties

optional
name: string | null | undefined
optional
permissions:
| number
| string
| null
| undefined
optional
color: number | null | undefined
optional
hoist: boolean | null | undefined
optional
mentionable: boolean | null | undefined