Skip to content

Discord go Channel type error #1

@Tadyr

Description

@Tadyr

When trying to build main.go I get this output:

$ go build main.go

command-line-arguments

./main.go:222: cannot convert "voice" to type discordgo.ChannelType
./main.go:222: invalid operation: channels[i].Type == "voice" (mismatched types discordgo.ChannelType and string)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions