bulkai
bulkai copied to clipboard
Couldn't create discord client: discord: couldn't parse token
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
Workaround: Pulled the token manually from the dev tools. Now it works as intended
I haven't figured out why Discord sometimes generates a token with a different format, and I don't know how to reproduce it. 🙈