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

[BUG] DiscordAPIError: 405 : Method Not Allowed #57

Closed
milotiro95 opened this issue Apr 28, 2022 · 6 comments
Closed

[BUG] DiscordAPIError: 405 : Method Not Allowed #57

milotiro95 opened this issue Apr 28, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@milotiro95
Copy link

Hi everyone.

I use Zdiscord for weeks and all work fine until this night. I have this error when the server is restarting and now my commands doesn't work. See pictures. Do you know how to fix this ?
Capture

@milotiro95 milotiro95 added the bug Something isn't working label Apr 28, 2022
@zfbx
Copy link
Owner

zfbx commented Apr 28, 2022

Yes, discord broke everything, working on figuring out a fix, I'm sorry.. yell at discord in the mean time https://discord.com/developers/docs/change-log#updated-command-permissions https://discord.com/blog/slash-commands-permissions-discord-apps-bots

For now you should be able to manually set permissions from your discord server > settings > integrations > your bot name > manage > and go through adding them one by one.. (must restart discord and can't be done on mobile) cause they're just so lovely

@milotiro95
Copy link
Author

Aie I see don't worry I understand this is not you but discord's problem. I have go for the manual permission for now, hope it will be fixed soon (: Thank for the rapid intervention haha !

@milotiro95
Copy link
Author

It seems that zdiscord work for whitelist role. Perhaps use the same way to adapt for staff commands ?

@zfbx
Copy link
Owner

zfbx commented Apr 29, 2022

Oh I'm so sorry got so caught up in writing the release I forgot to comment here that i "fixed" it with 30c3d44 though it has it's quirks as noted in the release

@milotiro95
Copy link
Author

Don't worry it's okay mates ! I understand that code take a lot of times especially while properly done. I saw your update and try it. It seems to work great except that all users can see the commands, that was better with @everyone = false but it works. Perhaps if there is no other ways to have it done i will perhaps re do the manual permission and put @everyone false + the staff role !
By the way thank you for you're work and fast fix !

@zfbx
Copy link
Owner

zfbx commented Apr 29, 2022

Yeah I noted in the release about that, you can manually give the roles to fix that but at least if they try to run them they fail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants