Releases: zfbx/zdiscord
zdiscord 7.3.0 - Critical update
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
zdiscord v7.2.1
- update links
- added swedish from ayatollah
- support message added <3
- docs updates
- few bug fixes
New Contributors
- @ayatollah made their first contribution in #44
- @MonkeyWhisper made their first contribution in #48
Full Changelog: v7.2.0...v7.2.1
zdiscord v7.2.0
This build is mostly hotfixes for the previous but required
- patched some errors from previous version
- added example events for hooking from discord
- updated api usage to be stable with newest branch of discord.js
- added config for logging debug messages from discord.js
Full Changelog: v7.1.1...v7.2.0
zdiscord v7.1.1 [HOTFIX]
Hotfix for addon included, discord API changed apparently limiting the number of times you can update a channel name and trying to overdo it can get you in trouble. Only important if you're using the liveplayercount.js
addon
Full Changelog: v7.1.0...v7.1.1
zdiscord v7.1.0
Use zdiscord v7.1.1 download instead
Notes:
- added Italian from anonymous
- bug fixes
- add Czech from @Anostraca #39
- add vehicle commands
- updated oxmysql compatibility
- add Norwegian from @VikingTheDev #41
- optional addon for live player count added
- Updated dependencies removing outdated and improving stablility
Full Changelog: v7.0.3...v7.1.0
zdiscord v7.0.3
Note: This update requires changes to the config which means you'll need to update it if you don't use convars
- fixed a few logging typos 778342d f368c0e
- added new config
AdditionalStaffChatRoleIds
(read config docs for more info) e43de22
Full Changelog: v7.0.2...v7.0.3
zdiscord v7.0.2
Full Changelog: v7.0.1...v7.0.2
zdiscord v7.0.1
chat is now a utility function so if you use a custom chat (unadvised) you can do so easily
What's Changed
New Contributors
Full Changelog: v7.0.0...v7.0.1
zdiscord v7
zdiscord v7 requires FiveM artifacts 4890+
- added bi-directional staff chat (messages from discord staff channel <-> fiveM staff chat messages)
- add discord webhook logging export (think qb-logs)
- Refactored and added to config to be more clear
- dutch added. Thanks Chatty <3
- Slovenian added. Thanks Synthetics <3
- remove command versioning
- converted bot into class
- added addon support
- relicensed under CC-BY-SA-NC-4.0
Full Changelog: v6.0.0...v7.0.0
zdiscord v6 (Discord.js)
zdiscord v6 has been highly successful and stable for some time without any errors that have been reported for many months. This version however does require FiveM artifacts 4800 or newer to work as it's running newer node16 features
Full Changelog: https://github.com/zfbx/zdiscord/commits/v6.0.0