-
Notifications
You must be signed in to change notification settings - Fork 1
Command YAML reference
Duncan Sterken edited this page Mar 8, 2024
·
2 revisions
-
name
- type: String
- Min length: 1
- Max length: 32
- Allowed regex:
^[-_\p{L}\p{N}\p{sc=Deva}\p{sc=Thai}]{1,32}$
(unicode flag set)
-
description
- type: String
- Min length: 1
- Max length: 100
- Allowed regex:
^[-_ \p{L}\p{N}\p{sc=Deva}\p{sc=Thai}]{1,100}$
(unicode flag set)
-
output
- type: String
- restrictions: must be a multiline string and end in quotes, must also be valid Kotlin
-
disabled
- type: Boolean
- default: false
-
input
- type: List (input prop)
- default: empty list
- name
- type: String
- type
- type: Enum
- Allowed values:
- SUB_COMMAND (not yet supported)
- SUB_COMMAND_GROUP (not yet supported)
- STRING
- INTEGER
- BOOLEAN
- USER
- CHANNEL
- ROLE
- MENTIONABLE (user, channel or role)
- NUMBER
- ATTACHMENT (file uploaded)
- desc
- type: String
- required
- type: Boolean