Build chat bots with blocks

🗣️ (required) required (type) option with name (name) description (description)

In Discord → Interactions → Application Commands

Jump to block

Represents an option of a command. Pass this either individually or as part of a list to create slash command….

Only valid in: discord command create

Requires the following blocks to be present in the project: discord login


Parameter name Parameter type Required? Description
required any Whether this option is required, i.e. must be filled in order to call.
type any The type of value this option should hold.
name String A user-visible name for this option.
description String A user-visible description of this option.


command arg - The option.