-
```go
func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
g, err := s.State.Guild(m.guildID)
if err != nil {
fmt.Println(err.Error())
}
fmt.Println(g.Members)
}
```
…
-
-
└─# ./linux-agent
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x6ae669]
goroutine 1 [running]:
main.main…
-
Proof of concept implementation in #651
# Problem
The `New` function does not express its intent in its type. it is also very unintuitive to use.
```go
func New(args ...interface{}) (s *Session…
-
## How have you installed cordless
- [X] Arch User Repository
- [ ] Snap
- [ ] scoop
- [ ] brew
- [ ] go get
## What happened
Attempting to log in as a bot with a bot that is part of more…
-
I'm trying to make a discord bot for integration with some other software where i need to know if a user in a voicechannel is speaking, but when i add a handler to the voice connection, it only ever g…
-
I'm trying to remove a reaction as soon as it is added, so I am trying this:
func messageReactionAdd(s *discordgo.Session, m *discordgo.MessageReactionAdd) {
err = s.MessageReactionRem…
-
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 authenti…
-
i couldnt do this step with discordgo
https://discord.com/developers/docs/tutorials/developing-a-user-installable-app#step-2-setting-up-commands
-
Snow — Today at 20:12
whoami
Hacked---BOT
— Today at 20:12
Command didn't return anything
admin help!!!!