diff --git a/api/interaction.go b/api/interaction.go index a4ced0f..6ccd0ff 100644 --- a/api/interaction.go +++ b/api/interaction.go @@ -256,9 +256,18 @@ func (c *Client) DeleteInteractionResponse(appID discord.AppID, token string) er } // CreateInteractionFollowup creates a followup message for an interaction. +// +// Deprecated: use FollowUpInteraction instead. func (c *Client) CreateInteractionFollowup( appID discord.AppID, token string, data InteractionResponseData) (*discord.Message, error) { + return c.FollowUpInteraction(appID, token, data) +} + +// FollowUpInteraction creates a followup message for an interaction. +func (c *Client) FollowUpInteraction( + appID discord.AppID, token string, data InteractionResponseData) (*discord.Message, error) { + if (data.Content == nil || data.Content.Val == "") && (data.Embeds == nil || len(*data.Embeds) == 0) && len(data.Files) == 0 { return nil, ErrEmptyMessage