func (b *MessageUpdateBuilder) ClearActionRows() *MessageUpdateBuilder {
	b.Components = &[]discord.Component{}
	return b
}
ClearActionRows removes all the ActionRow(s) of the Message
package webhook
import (
	"fmt"
	"io"
	"github.com/DisgoOrg/disgo/discord"
)
type MessageUpdateBuilder struct {
	discord.WebhookMessageUpdate
}
func NewMessageUpdateBuilder() *MessageUpdateBuilder {
	return &MessageUpdateBuilder{
		WebhookMessageUpdate: discord.WebhookMessageUpdate{
			AllowedMentions: &DefaultAllowedMentions,
		},
	}
}
func (b *MessageUpdateBuilder) SetContent(content string) *MessageUpdateBuilder {
	b.Content = &content
	return b
}
func (b *MessageUpdateBuilder) SetContentf(content string, a ...interface{}) *MessageUpdateBuilder {
	return b.SetContent(fmt.Sprintf(content, a...))
}
func (b *MessageUpdateBuilder) ClearContent() *MessageUpdateBuilder {
	return b.SetContent("")
}
func (b *MessageUpdateBuilder) SetEmbeds(embeds ...discord.Embed) *MessageUpdateBuilder {
	if b.Embeds == nil {
		b.Embeds = new([]discord.Embed)
	}
	*b.Embeds = embeds
	return b
}
func (b *MessageUpdateBuilder) SetEmbed(i int, embed discord.Embed) *MessageUpdateBuilder {
	if b.Embeds == nil {
		b.Embeds = new([]discord.Embed)
	}
	if len(*b.Embeds) > i {
		(*b.Embeds)[i] = embed
	}
	return b
}
func (b *MessageUpdateBuilder) AddEmbeds(embeds ...discord.Embed) *MessageUpdateBuilder {
	if b.Embeds == nil {
		b.Embeds = new([]discord.Embed)
	}
	*b.Embeds = append(*b.Embeds, embeds...)
	return b
}
func (b *MessageUpdateBuilder) ClearEmbeds() *MessageUpdateBuilder {
	b.Embeds = &[]discord.Embed{}
	return b
}
func (b *MessageUpdateBuilder) RemoveEmbed(i int) *MessageUpdateBuilder {
	if b.Embeds == nil {
		b.Embeds = new([]discord.Embed)
	}
	if len(*b.Embeds) > i {
		*b.Embeds = append((*b.Embeds)[:i], (*b.Embeds)[i+1:]...)
	}
	return b
}
func (b *MessageUpdateBuilder) SetActionRows(actionRows ...discord.ActionRow) *MessageUpdateBuilder {
	if b.Components == nil {
		b.Components = new([]discord.Component)
	}
	*b.Components = actionRowsToComponents(actionRows)
	return b
}
func (b *MessageUpdateBuilder) SetActionRow(i int, actionRow discord.ActionRow) *MessageUpdateBuilder {
	if b.Components == nil {
		b.Components = new([]discord.Component)
	}
	if len(*b.Components) > i {
		(*b.Components)[i] = actionRow
	}
	return b
}
func (b *MessageUpdateBuilder) AddActionRow(components ...discord.Component) *MessageUpdateBuilder {
	if b.Components == nil {
		b.Components = new([]discord.Component)
	}
	*b.Components = append(*b.Components, discord.NewActionRow(components...))
	return b
}
func (b *MessageUpdateBuilder) AddActionRows(actionRows ...discord.ActionRow) *MessageUpdateBuilder {
	if b.Components == nil {
		b.Components = new([]discord.Component)
	}
	*b.Components = append(*b.Components, actionRowsToComponents(actionRows)...)
	return b
}
func (b *MessageUpdateBuilder) RemoveActionRow(i int) *MessageUpdateBuilder {
	if b.Components == nil {
		b.Components = new([]discord.Component)
	}
	if len(*b.Components) > i {
		*b.Components = append((*b.Components)[:i], (*b.Components)[i+1:]...)
	}
	return b
}