-
Notifications
You must be signed in to change notification settings - Fork 36
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
[Bug] Cannot perform action due to a lack of Permission. Missing permission: MANAGE_WEBHOOKS #233
Comments
The docs states which permissions are required for auth, and this happens only when people try not to follow the docs. So this doesn't seem to be a big deal? |
Every permission isn't always available, like in my case. If the disparity between server and channel webhook is not very important, crashing when not using webhook can get really annoying. |
I will take a look at the purpose of the code you quoted and decide whether it should be removed. |
Sorry for late response. The Releasing the permission to the entire guild for an open-source project should not make much security difference to the vast majority of people. What actually is your concern on that? |
Checks
Minecraft Version
1.20.4
Discord-MC-Chat Version
Latest Build (GitHub Actions)
Description
A bot which has permission to create webhooks in the log channel, but not in the guild crashes the server, when everything should work.
This is due to :
Discord-MC-Chat/src/main/java/com/xujiayao/discord_mc_chat/Main.java
Line 119 in a78ee5a
Checking unconditionally. Additionally, this check also happens and crashes the server when
use_webhook
config is off (!!!!!)To Reproduce
Log
Config
The text was updated successfully, but these errors were encountered: