Add Snowflake
type, which is a string with a custom UnmarshalJSON.
#896
Annotations
11 errors and 1 warning
|
Run go test -v -race ./...:
examples/airhorn/main.go#L114
cannot use g.ID (type discordgo.Snowflake) as type string in argument to playSound
|
Run go test -v -race ./...:
examples/airhorn/main.go#L114
cannot use vs.ChannelID (type discordgo.Snowflake) as type string in argument to playSound
|
Run go test -v -race ./...:
examples/airhorn/main.go#L189
cannot use guildID (type string) as type discordgo.Snowflake in argument to s.ChannelVoiceJoin
|
Run go test -v -race ./...:
examples/airhorn/main.go#L189
cannot use channelID (type string) as type discordgo.Snowflake in argument to s.ChannelVoiceJoin
|
Run go test -v -race ./...:
examples/auto_moderation/main.go#L29
cannot use *GuildID (type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleCreate
|
Run go test -v -race ./...:
examples/auto_moderation/main.go#L48
cannot use *GuildID (type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleDelete
|
Run go test -v -race ./...:
examples/auto_moderation/main.go#L51
cannot use *GuildID (type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleEdit
|
Run go test -v -race ./...:
examples/auto_moderation/main.go#L58
cannot use e.ChannelID (type string) as type discordgo.Snowflake in field value
|
Run go test -v -race ./...:
examples/auto_moderation/main.go#L63
cannot use *GuildID (type string) as type discordgo.Snowflake in argument to session.AutoModerationRuleDelete
|
Run go test -v -race ./...:
examples/auto_moderation/main.go#L67
cannot use e.ChannelID (type string) as type discordgo.Snowflake in argument to s.ChannelMessageSend
|
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