Skip to content

Couldn't create discord client: discord: couldn't parse token #59

@Judufu

Description

@Judufu

Discord won't start after creating a new Session.yaml

Similar to Bug report #30
But this time the error occured while using a windows machine.

Tried Chrome Version 117 and 113.
There seems to be a problem with this piece of code

split := strings.SplitN(cfg.Token, ".", 2)
if len(split) != 2 {
	return nil, fmt.Errorf("discord: couldn't parse token")
}

in the discord.go file

image removed

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