diff --git a/utils/json/option/custom.go b/utils/json/option/custom.go index 7ab04c2..f6c4eba 100644 --- a/utils/json/option/custom.go +++ b/utils/json/option/custom.go @@ -5,7 +5,7 @@ import "github.com/diamondburned/arikawa/discord" // ================================ Seconds ================================ // Seconds is the option type for discord.Seconds. -type Seconds *discord.Seconds +type Seconds = *discord.Seconds // ZeroSeconds are 0 Seconds. var ZeroSeconds = NewSeconds(0) @@ -16,7 +16,7 @@ func NewSeconds(s discord.Seconds) Seconds { return &s } // ================================ Color ================================ // Color is the option type for discord.Color. -type Color *discord.Color +type Color = *discord.Color // NewString creates a new Color with the value of the passed discord.Color. func NewColor(s discord.Color) Color { return &s }