Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
69 views

I've created a new bot. Created a server, where I and my bot are. Run a simple code. Example package main import ( "fmt" "log" "github.com/bwmarrin/discordgo&...
Iván Isaev's user avatar
2 votes
0 answers
56 views

I've created a tic-tac-toe game in golang utilizing the discordgo library. I am attempting to disable all the buttons after a winner to prevent someone from spamming them, but no matter what I try I ...
Firework's user avatar
  • 249
1 vote
1 answer
999 views

I'm trying to retrieve attachments and download the contents from a slash command option with the type: ApplicationCommandOptionAttachment. My current code: "import-file": func(s *discordgo....
lol's user avatar
  • 97
1 vote
1 answer
418 views

Recently I decided to code my first Discord bot, and I have an issue. When I type $help directly to bot, he sends me a message back. However, when I send $help in discord server, I do not recieve any ...
werniq's user avatar
  • 13
1 vote
2 answers
1k views

We are developing a Discord bot with Go language using discordgo library. I was able to send messages containing ActionRow, SelectMenu, Button components using [DiscordSession]....
Javad Norouzi's user avatar
-1 votes
1 answer
132 views

Context Please, read the comments in code carefully. Everything is in them. In case you have experience using discordgo The full code can be found here: https://github.com/telephrag/kubinka/tree/bug (...
mcv_dev's user avatar
  • 368
2 votes
1 answer
1k views

I am creating a Discord bot that should accept commands that react to a replied message. What I mean is: the user would reply to message A with a command (let this be message B replying to A) the bot ...
Luis Paulo's user avatar
0 votes
1 answer
1k views

I want to make a bot create a channel on discord. I have made a connection with the discord token: // Create a new Discord session using the provided bot token. dg, err := discordgo.New("Bot &...
fajarhide's user avatar
  • 463
0 votes
1 answer
809 views

I would like my discord bot to detect mentions from command and I can't really do that, even though I could send message with mention from my bot. Could you help me out here? By the way I am using ...
Alexfive2006's user avatar
1 vote
1 answer
1k views

I am trying to delete a discord message using discordgo. Currently I have the ping pong example, however instead of writing a message I want to delete the message. I have currently got this far: ...
Ben's user avatar
  • 3,723