bwmarrin / discordgo

(Golang) Go bindings for Discord
BSD 3-Clause "New" or "Revised" License
5.13k stars 819 forks source link

InviteAccept is not working #420

Closed SaubereSacheLP closed 4 years ago

SaubereSacheLP commented 7 years ago

Hi, InviteAccept returns &{0xc042053600 0xc0420809a0 Opificium#8348 RUukPa8 0 0 0 false false} but the account is not joining the discord (its not a bot account)

(os.Args[2] = RUukPa8) Code:

resp, err := dg.InviteAccept(os.Args[2])
    fmt.Println(resp)
    if err != nil {
        fmt.Println(err)
        return
    }
Necroforger commented 7 years ago

Is the account verified? I've only tried InviteAccept with unverified accounts and had no success.

SaubereSacheLP commented 7 years ago

The Account is verified but its not working

Harmon758 commented 7 years ago

Selfbots/Userbots can no longer accept invites through that endpoint. It's blacklisted now, and attempting to do so will likely unverify your account and potentially get it banned.

SaubereSacheLP commented 7 years ago

Why is it not fixed / disabled?

bwmarrin commented 7 years ago

Well, that's a good question. If it's not usable at all except for the official discord client then I suppose it should be removed. @Harmon758 can you link a reference to where it's discussed by any chance?

Harmon758 commented 7 years ago

I don't think it's officially documented anywhere yet, but there's been substantial discussion about it in the Discord API server. A quick search for "accept invite" will bring up messages going back months regarding the issue.

CarsonHoffman commented 4 years ago

Given that the bot API has no support for relationships, I'm going to close this.