Add nsfw option (#1310)
This commit is contained in:
parent
ae8894be67
commit
0a42ffa9da
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ type ApplicationCommand struct {
|
|||
DefaultPermission *bool `json:"default_permission,omitempty"`
|
||||
DefaultMemberPermissions *int64 `json:"default_member_permissions,string,omitempty"`
|
||||
DMPermission *bool `json:"dm_permission,omitempty"`
|
||||
NSFW *bool `json:"nsfw,omitempty"`
|
||||
|
||||
// NOTE: Chat commands only. Otherwise it mustn't be set.
|
||||
|
||||
|
|
Loading…
Reference in a new issue