Skip to content
This repository was archived by the owner on Mar 5, 2023. It is now read-only.

Commit 0a42ffa

Browse files
authored
Add nsfw option (bwmarrin#1310)
1 parent ae8894b commit 0a42ffa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

interactions.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ type ApplicationCommand struct {
4242
DefaultPermission *bool `json:"default_permission,omitempty"`
4343
DefaultMemberPermissions *int64 `json:"default_member_permissions,string,omitempty"`
4444
DMPermission *bool `json:"dm_permission,omitempty"`
45+
NSFW *bool `json:"nsfw,omitempty"`
4546

4647
// NOTE: Chat commands only. Otherwise it mustn't be set.
4748

0 commit comments

Comments
 (0)