Skip to content

Commit 569b56d

Browse files
Added attachment_urls to discord slash command
1 parent 8497498 commit 569b56d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

api/pkg/services/discord_service.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,12 @@ func (service *DiscordService) createSlashCommand(ctx context.Context, serverID
169169
Type: 3,
170170
Required: true,
171171
},
172+
{
173+
Name: "attachment_urls",
174+
Description: "Comma-separated list of media URLs to attach",
175+
Type: 3,
176+
Required: false,
177+
},
172178
},
173179
})
174180
if err != nil {

0 commit comments

Comments
 (0)