Skip to content

Add Snowflake type, which is a string with a custom UnmarshalJSON. #896

Add Snowflake type, which is a string with a custom UnmarshalJSON.

Add Snowflake type, which is a string with a custom UnmarshalJSON. #896

Re-run triggered February 2, 2024 15:51
Status Failure
Total duration 33s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

71 errors and 8 warnings
test (1.13): examples/airhorn/main.go#L114
cannot use g.ID (type discordgo.Snowflake) as type string in argument to playSound
test (1.13): examples/airhorn/main.go#L114
cannot use vs.ChannelID (type discordgo.Snowflake) as type string in argument to playSound
test (1.13): examples/airhorn/main.go#L189
cannot use guildID (type string) as type discordgo.Snowflake in argument to s.ChannelVoiceJoin
test (1.13): examples/airhorn/main.go#L189
cannot use channelID (type string) as type discordgo.Snowflake in argument to s.ChannelVoiceJoin
test (1.13): examples/auto_moderation/main.go#L29
cannot use *GuildID (type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleCreate
test (1.13): examples/auto_moderation/main.go#L48
cannot use *GuildID (type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleDelete
test (1.13): examples/auto_moderation/main.go#L51
cannot use *GuildID (type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleEdit
test (1.13): examples/auto_moderation/main.go#L58
cannot use e.ChannelID (type string) as type discordgo.Snowflake in field value
test (1.13): examples/auto_moderation/main.go#L63
cannot use *GuildID (type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleDelete
test (1.13): examples/auto_moderation/main.go#L67
cannot use e.ChannelID (type string) as type discordgo.Snowflake in argument to s.ChannelMessageSend
test (1.17)
The job was canceled because "_1_13" failed.
test (1.17): examples/airhorn/main.go#L114
cannot use g.ID (type discordgo.Snowflake) as type string in argument to playSound
test (1.17): examples/airhorn/main.go#L114
cannot use vs.ChannelID (type discordgo.Snowflake) as type string in argument to playSound
test (1.17): examples/airhorn/main.go#L189
cannot use guildID (type string) as type discordgo.Snowflake in argument to s.ChannelVoiceJoin
test (1.17): examples/airhorn/main.go#L189
cannot use channelID (type string) as type discordgo.Snowflake in argument to s.ChannelVoiceJoin
test (1.17): examples/auto_moderation/main.go#L29
cannot use *GuildID (type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleCreate
test (1.17): examples/auto_moderation/main.go#L48
cannot use *GuildID (type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleDelete
test (1.17): examples/auto_moderation/main.go#L51
cannot use *GuildID (type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleEdit
test (1.17): examples/auto_moderation/main.go#L58
cannot use e.ChannelID (type string) as type discordgo.Snowflake in field value
test (1.17): examples/auto_moderation/main.go#L63
cannot use *GuildID (type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleDelete
test (1.17): examples/auto_moderation/main.go#L67
cannot use e.ChannelID (type string) as type discordgo.Snowflake in argument to s.ChannelMessageSend
lint
cannot use *GuildID (variable of type string) as discordgo.Snowflake value in argument to s.ApplicationCommandBulkOverwrite
lint
cannot use *GuildID (variable of type string) as discordgo.Snowflake value in argument to session.AutoModerationRuleCreate
lint
cannot use g.ID (variable of type discordgo.Snowflake) as string value in argument to playSound
lint
cannot use i.ApplicationCommandData().TargetID (value of type string) as discordgo.Snowflake value in argument to s.UserChannelCreate
lint
cannot use *AppID (variable of type string) as discordgo.Snowflake value in argument to s.ApplicationCommandCreate
lint
cannot use "modals_survey_" + i.Interaction.Member.User.ID (value of type discordgo.Snowflake) as string value in struct literal
lint
cannot use *VoiceChannelID (variable of type string) as discordgo.Snowflake value in struct literal
lint
cannot use i.ApplicationCommandData().ID (value of type string) as discordgo.Snowflake value in argument to s.ApplicationCommandPermissions
lint
cannot use m.ChannelID (variable of type discordgo.Snowflake) as string value in map index
lint
cannot use *StageChannelID (variable of type string) as discordgo.Snowflake value in struct literal
test (1.16): examples/airhorn/main.go#L114
cannot use g.ID (type discordgo.Snowflake) as type string in argument to playSound
test (1.16): examples/airhorn/main.go#L114
cannot use vs.ChannelID (type discordgo.Snowflake) as type string in argument to playSound
test (1.16): examples/airhorn/main.go#L189
cannot use guildID (type string) as type discordgo.Snowflake in argument to s.ChannelVoiceJoin
test (1.16): examples/airhorn/main.go#L189
cannot use channelID (type string) as type discordgo.Snowflake in argument to s.ChannelVoiceJoin
test (1.16): examples/auto_moderation/main.go#L29
cannot use *GuildID (type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleCreate
test (1.16): examples/auto_moderation/main.go#L48
cannot use *GuildID (type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleDelete
test (1.16): examples/auto_moderation/main.go#L51
cannot use *GuildID (type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleEdit
test (1.16): examples/auto_moderation/main.go#L58
cannot use e.ChannelID (type string) as type discordgo.Snowflake in field value
test (1.16): examples/auto_moderation/main.go#L63
cannot use *GuildID (type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleDelete
test (1.16): examples/auto_moderation/main.go#L67
cannot use e.ChannelID (type string) as type discordgo.Snowflake in argument to s.ChannelMessageSend
test (1.14): examples/auto_moderation/main.go#L29
cannot use *GuildID (type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleCreate
test (1.14): examples/auto_moderation/main.go#L48
cannot use *GuildID (type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleDelete
test (1.14): examples/auto_moderation/main.go#L51
cannot use *GuildID (type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleEdit
test (1.14): examples/auto_moderation/main.go#L58
cannot use e.ChannelID (type string) as type discordgo.Snowflake in field value
test (1.14): examples/auto_moderation/main.go#L63
cannot use *GuildID (type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleDelete
test (1.14): examples/auto_moderation/main.go#L67
cannot use e.ChannelID (type string) as type discordgo.Snowflake in argument to s.ChannelMessageSend
test (1.14): examples/auto_moderation/main.go#L80
cannot use "send alert message into <#" + e.Action.Metadata.ChannelID + ">" (type discordgo.Snowflake) as type string in assignment
test (1.14): examples/auto_moderation/main.go#L89
cannot use e.ChannelID (type string) as type discordgo.Snowflake in argument to s.ChannelMessageSend
test (1.14): examples/auto_moderation/main.go#L94
cannot use e.ChannelID (type string) as type discordgo.Snowflake in argument to s.ChannelMessageSend
test (1.14): examples/auto_moderation/main.go#L95
cannot use e.ChannelID (type string) as type discordgo.Snowflake in argument to s.ChannelMessageSend
test (1.18): examples/auto_moderation/main.go#L29
cannot use *GuildID (variable of type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleCreate
test (1.15): examples/airhorn/main.go#L114
cannot use g.ID (type discordgo.Snowflake) as type string in argument to playSound
test (1.18): examples/auto_moderation/main.go#L48
cannot use *GuildID (variable of type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleDelete
test (1.18): examples/auto_moderation/main.go#L51
cannot use *GuildID (variable of type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleEdit
test (1.15): examples/airhorn/main.go#L114
cannot use vs.ChannelID (type discordgo.Snowflake) as type string in argument to playSound
test (1.18): examples/auto_moderation/main.go#L58
cannot use e.ChannelID (variable of type string) as type discordgo.Snowflake in struct literal
test (1.15): examples/airhorn/main.go#L189
cannot use guildID (type string) as type discordgo.Snowflake in argument to s.ChannelVoiceJoin
test (1.18): examples/auto_moderation/main.go#L63
cannot use *GuildID (variable of type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleDelete
test (1.15): examples/airhorn/main.go#L189
cannot use channelID (type string) as type discordgo.Snowflake in argument to s.ChannelVoiceJoin
test (1.18): examples/auto_moderation/main.go#L67
cannot use e.ChannelID (variable of type string) as type discordgo.Snowflake in argument to s.ChannelMessageSend
test (1.15): examples/auto_moderation/main.go#L29
cannot use *GuildID (type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleCreate
test (1.18): examples/auto_moderation/main.go#L80
cannot use "send alert message into <#" + e.Action.Metadata.ChannelID + ">" (value of type discordgo.Snowflake) as type string in assignment
test (1.15): examples/auto_moderation/main.go#L48
cannot use *GuildID (type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleDelete
test (1.18): examples/auto_moderation/main.go#L89
cannot use e.ChannelID (variable of type string) as type discordgo.Snowflake in argument to s.ChannelMessageSend
test (1.15): examples/auto_moderation/main.go#L51
cannot use *GuildID (type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleEdit
test (1.18): examples/auto_moderation/main.go#L94
cannot use e.ChannelID (variable of type string) as type discordgo.Snowflake in argument to s.ChannelMessageSend
test (1.15): examples/auto_moderation/main.go#L58
cannot use e.ChannelID (type string) as type discordgo.Snowflake in field value
test (1.18): examples/auto_moderation/main.go#L95
cannot use e.ChannelID (variable of type string) as type discordgo.Snowflake in argument to s.ChannelMessageSend
test (1.15): examples/auto_moderation/main.go#L63
cannot use *GuildID (type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleDelete
test (1.15): examples/auto_moderation/main.go#L67
cannot use e.ChannelID (type string) as type discordgo.Snowflake in argument to s.ChannelMessageSend
format
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/.
test (1.13)
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/.
test (1.17)
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/.
lint
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/.
test (1.16)
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/.
test (1.14)
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/.
test (1.18)
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/.
test (1.15)
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/.