Discord · Schema

CommandPermissionResponse

ChatCommunicationGamingMessagingSocialVideoVoice

Properties

Name Type Description
id object
type object
permission boolean
View JSON Schema on GitHub

JSON Schema

discord-commandpermissionresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CommandPermissionResponse",
  "title": "CommandPermissionResponse",
  "type": "object",
  "properties": {
    "id": {
      "$ref": "#/components/schemas/SnowflakeType"
    },
    "type": {
      "$ref": "#/components/schemas/ApplicationCommandPermissionType"
    },
    "permission": {
      "type": "boolean"
    }
  },
  "required": [
    "id",
    "type",
    "permission"
  ]
}