diff --git a/discord/application_command.go b/discord/application_command.go index 1f149bec..a0e06b78 100644 --- a/discord/application_command.go +++ b/discord/application_command.go @@ -11,7 +11,7 @@ import ( type ApplicationCommandType int const ( - ApplicationCommandTypeSlash ApplicationCommandType = iota + 1 + ApplicationCommandTypeSlash = iota + 1 ApplicationCommandTypeUser ApplicationCommandTypeMessage ) diff --git a/discord/component.go b/discord/component.go index b8c0dd3e..33400f5f 100644 --- a/discord/component.go +++ b/discord/component.go @@ -12,7 +12,7 @@ type ComponentType int // Supported ComponentType(s) const ( - ComponentTypeActionRow ComponentType = iota + 1 + ComponentTypeActionRow = iota + 1 ComponentTypeButton ComponentTypeStringSelectMenu ComponentTypeTextInput