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

Ran into a situation where when playing a sound, if the bot was moved to another voice channel, it seemingly gets stuck in limbo. Running `Disconnect()` just crashes. `s.VoiceConnections[e.GuildID]` seems...

Hi, I would like to know about the options available for performing integration tests with discord servers. Something similar to [slack test](https://github.com/nlopes/slack/tree/master/slacktest) would be helpful. kindly suggest some pointers. thanks...

Whenever I run the example slash commands it duplicated the commands now. I am not sure if this is caused due to not removing them on exit or if it...

In #856 slash commands were implemented. From what I've noticed, these are missing two features. The first is global slash commands working in DMs (documented [here](https://discord.com/developers/docs/interactions/slash-commands#registering-a-command)). With the current behaviour,...

After a while of our bot running, we receive this error: ``` 2021/03/25 00:53:33 [DG0] wsapi.go:82:Open() error connecting to gateway wss://gateway.discord.gg/?v=6&encoding=json, dial tcp: i/o timeout 2021/03/25 00:53:33 [DG0] wsapi.go:835:reconnect() error...

stale

Is there a recommended and idiomatic way of implementing healthchecks for a bot making use of discordgo? I'm thinking specifically about healthchecks in dockerfiles. The session has a LastHeartBeatAck time...

i noticed there are a couple of permissions which are missing from the permission constants Specifically - `1

After finishing slash commands (#856), I planned improving caching. This, for now, is one of major problems in the DiscordGo: for example, let's imagine, you put everything into cache... and...

In the state i have doubling some guild members. Now, I use a little util function for fix it (below). ```go func UniqueMembers(members []*discordgo.Member) []*discordgo.Member { var unique []*discordgo.Member mm...

I'm trying to run an action when a user disconnects from a specific voice channel. The discord API shows the disconnect by firing a Voice State Update with a channel...