Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bot can't respond to private channels in 1.3.7 #7

Closed
DevilPF opened this issue Dec 20, 2020 · 3 comments
Closed

Bot can't respond to private channels in 1.3.7 #7

DevilPF opened this issue Dec 20, 2020 · 3 comments

Comments

@DevilPF
Copy link

DevilPF commented Dec 20, 2020

In last version 1.3.7 bot can't respond to private message channel (direct message to bot user):

2020/12/20 16:16:43.950019 discord.go:245: Failed to check permissions (2048) for 412985156786192384: HTTP 404 Not Found, {"message": "404: Not Found", "code": 0}
2020/12/20 16:16:43.959016 commands.go:94: [dgrouter:help] Bot does not have permission to send messages in 412985156786192384

It fails to send message and also fails to do the command (history, help, etc)

1.3.6 is working properly
The channel is in adminChannels

@get-got
Copy link
Owner

get-got commented Dec 20, 2020

@DevilPF I see why, thank you for including the output. I'll add checks for if it's actually a server channel prior to checking permissions to avoid that. It'll be fixed in 1.3.8.

@get-got
Copy link
Owner

get-got commented Dec 20, 2020

Fixed 6015c73

Pushing v1.3.8 now

@get-got get-got closed this as completed Dec 20, 2020
@DevilPF
Copy link
Author

DevilPF commented Dec 20, 2020

Excelent, thank you, 1.3.8 is working as intended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants