Declare type for iota consts #514
Annotations
10 errors and 1 warning
go build:
handler/mux.go#L208
cannot use discord.ApplicationCommandTypeSlash (constant 1 of type discord.ApplicationCommandType) as int value in array or slice literal
|
go build:
handler/mux.go#L219
cannot use discord.ApplicationCommandTypeUser (constant 2 of type discord.ApplicationCommandType) as int value in array or slice literal
|
go build:
handler/mux.go#L230
cannot use discord.ApplicationCommandTypeMessage (constant 3 of type discord.ApplicationCommandType) as int value in array or slice literal
|
go build:
handler/mux.go#L261
cannot use discord.ComponentTypeButton (constant 2 of type discord.ComponentType) as int value in array or slice literal
|
go build:
handler/mux.go#L273
cannot use discord.ComponentTypeStringSelectMenu (constant 3 of type discord.ComponentType) as int value in array or slice literal
|
go build:
handler/mux.go#L274
cannot use discord.ComponentTypeUserSelectMenu (constant 5 of type discord.ComponentType) as int value in array or slice literal
|
go build:
handler/mux.go#L275
cannot use discord.ComponentTypeRoleSelectMenu (constant 6 of type discord.ComponentType) as int value in array or slice literal
|
go build:
handler/mux.go#L276
cannot use discord.ComponentTypeMentionableSelectMenu (constant 7 of type discord.ComponentType) as int value in array or slice literal
|
go build:
handler/mux.go#L277
cannot use discord.ComponentTypeChannelSelectMenu (constant 8 of type discord.ComponentType) as int value in array or slice literal
|
go build
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The logs for this run have expired and are no longer available.
Loading