discordgo icon indicating copy to clipboard operation
discordgo copied to clipboard

(Golang) Go bindings for Discord

Results 192 discordgo issues
Sort by recently updated
recently updated
newest added

When running ```go _, err = s.UserUpdateStatus("online") log.Println(err) ``` I get: ```json HTTP 403 Forbidden, {"message": "Bots cannot use this endpoint", "code": 20001} ``` If I run ```go err =...

The ChannelMessagesPinned function uses `EndpointChannelMessagesPins(channelID)` as its ratelimit bucket. https://github.com/bwmarrin/discordgo/blob/8416350/restapi.go#L1693 This is incorrect. The ratelimit for pins requests is shared across all channels and guilds. I recommend replacing the bucket...

The `Open()` function calls `OnEvent()` twice after calling `session.Lock()`. Normally, this second call returns a `Ready` packet, which causes no problems. However, after a read error that triggers a reconnection,...

bug

https://discord.com/developers/docs/resources/guild#modify-guild It seems to me that there is no way to set the `system_channel_id` (and others) via discordgo because it is missing in the `GuildParams` type and therefore can't be...

Docs: https://discord.com/developers/docs/topics/oauth2#client-credentials-grant Now that Slash Command is supported, which does not always require a Bot, please consider adding support to authenticate just the application itself using its `client_id` and `client_secret`....

## Possible Changes I found a few grammatical errors within the different readme / .md files so I cleaned them up and created a pull request. I've been using DiscordGO...

Usually I updated my bots status like the following: ``` err = instance.UpdateStatusComplex(discordgo.UpdateStatusData{ Activities: []*discordgo.Activity{ &discordgo.Activity{ Name: "\U0001F970", Type: 5, }, }, Status: "online", }) ``` But somehow the result...

I suggest to add executables to gitignore. It's hard to avoid them when you're working on examples especially.

When using UserChannelCreate() with a valid ID of a user thats inside my server, it throws the following error: `Bad Request, {"message": "Invalid Recipient(s)", "code": 50033}` What could this be?

So previously, I was able to do something like this when sending messages: ``` ms := &discordgo.MessageSend{ Embed: &discordgo.MessageEmbed{ Color: 0x78141b, Description: description, Fields: fields, Image: &discordgo.MessageEmbedImage{ URL: "attachment://" +...