func WithWebhookName(name string) WebhookSetting {
	return func(s *WebhookSettings) {
		s.Name = optional.NewString(name)
	}
}
WithWebhookName sets the name of a webhook.
package discord
import "github.com/skwair/harmony/optional"
type WebhookSettings struct {
	Name *optional.String `json:"name,omitempty"`
	Avatar    *optional.String `json:"avatar,omitempty"`
	ChannelID *optional.String `json:"channel_id,omitempty"`
}
type WebhookSetting func(*WebhookSettings)
func NewWebhookSettings(opts ...WebhookSetting) *WebhookSettings {
	s := &WebhookSettings{}
	for _, opt := range opts {
		opt(s)
	}
	return s
}