Skip to content

Commit

Permalink
Add nsfw option (#1310)
Browse files Browse the repository at this point in the history
  • Loading branch information
ikafly144 authored Jan 14, 2023
1 parent ae8894b commit 0a42ffa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions interactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 0a42ffa

Please sign in to comment.