Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

Added attachment_urls to discord slash command

Jake Daynes569b56da2b12
diff --git a/api/pkg/services/discord_service.go b/api/pkg/services/discord_service.go
index 059231b9..8c608e9f 100644
--- a/api/pkg/services/discord_service.go
+++ b/api/pkg/services/discord_service.go
@@ -169,6 +169,12 @@ func (service *DiscordService) createSlashCommand(ctx context.Context, serverID
Type: 3,
Required: true,
},
+ {
+ Name: "attachment_urls",
+ Description: "Comma-separated list of media URLs to attach",
+ Type: 3,
+ Required: false,
+ },
},
})
if err != nil {