Add Snowflake
type, which is a string with a custom UnmarshalJSON.
#896
Annotations
10 errors and 1 warning
Run go test -v -race ./...:
examples/auto_moderation/main.go#L29
cannot use *GuildID (variable of 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 (variable of 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 (variable of 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 (variable of type string) as type discordgo.Snowflake in struct literal
|
Run go test -v -race ./...:
examples/auto_moderation/main.go#L63
cannot use *GuildID (variable of 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 (variable of type string) as type discordgo.Snowflake in argument to s.ChannelMessageSend
|
Run go test -v -race ./...:
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
|
Run go test -v -race ./...:
examples/auto_moderation/main.go#L89
cannot use e.ChannelID (variable of type string) as type discordgo.Snowflake in argument to s.ChannelMessageSend
|
Run go test -v -race ./...:
examples/auto_moderation/main.go#L94
cannot use e.ChannelID (variable of type string) as type discordgo.Snowflake in argument to s.ChannelMessageSend
|
Run go test -v -race ./...:
examples/auto_moderation/main.go#L95
cannot use e.ChannelID (variable of 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