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

I'm trying to create a slash command that gets the attachments of a message the interaction is used on. `Interaction.Message` however says "this field is only filled when a button...

Is it ok to use master branch in product env? `MessageSend.StickerIDs` seems missing in newest release(v0.27.1), but can be found in master. https://discord.com/developers/docs/resources/channel#create-message

How can I make the bot return an error message? For example, information such as syntax errors or illegal parameters. The interfaces currently used do not return information, which will...

how to get warning messages, the person in charge can help solve it, thank you ![image](https://github.com/bwmarrin/discordgo/assets/36179722/aad563c8-8d15-42d7-9668-3ea349efab33)

Fixes #1394 Change all fields which are of type `snowflake` in the Discord API to this new type. The Snowflake type will unmarshal all string values (some special identifiers, such...

I use InteractionCreate with id only and nothing else.Somebody help me out

Deserializing a discord template into the DiscordTemplate struct doesn't work as it's using the standard `Guild` struct for the `serialized_source_guild` field. See https://github.com/bwmarrin/discordgo/blob/a90485df0cd41873bc381e79f8fb6bb99c05f48b/structs.go#L1103 This fails because all IDs in the...

fix
structs

Depends on #1334 https://discord.com/developers/docs/topics/permissions#role-object-role-flags A better solution to what I was doing in my onboarding pr, wasn't documented at the time though. I also thought about adding the `tags` field...

feature
structs

First commit makes the numbers bitflags which I find easier to parse and follows all the other flags in the repo. I also added docs for them. Second commit adds...

improvement

Add new function GuildBanCreateWithReason, but deleting messages by seconds. resolves this issue #1315