Skip to content

zdiscord 7.3.0 - Critical update

Latest
Compare
Choose a tag to compare
@zfbx zfbx released this 28 Apr 23:16
· 13 commits to djs since this release

So discord decided to break things on the API with no warning as usual :) which results in the previous versions of zdiscord giving the error DiscordAPIError: 405: Method Not Allowed and finding all their commands disabled regardless of permissions. This happened because of this update with these last minute notes for devs. This release fixes these problems by completely removing the permission system and hard checking roles from the config instead. One change to note is now all commands will show as available but anyone who uses them without permission will be given a warning that they don't have permission to use the command. if you want to make it look like it did before you'll want to follow the discord blog piece and match the permissions for the command to the permissions in the docs

To previous users

If you've added your own commands or permission levels these may break. commands with permissions now require just role: "rolename", WITHOUT default_permission: false, and extra permission if you had any will need to be redone in the new style

I'm sorry for any inconvenience this may of caused but I've tried to fix it as quickly as I could.

Full Changelog: v7.2.1...v7.3.0
Fixes #57