Discord Integration

Discord Integration 2.8.6

No permission to buy ($35.00)
  • PHP 8.4 compatibility fixes.
  • Fix "TypeError: XF\Mvc\Entity\Entity::__construct(): Argument #1 ($em) must be of type XF\Mvc\Entity\Manager, XF\Pub\App given" on editing a server that requires a user resync.
  • Like
Reactions: Gonanda and Shuya
  • Use password field for bot token and client secret values in the admin panel.
  • Add a per-server "Kick user if they are no longer in allowed user groups" flag.
  • Fix old sync long entries not being pruned as expected.
  • When modifying the XenForo user-group to Discord role mappings, only trigger a re-sync for the affected server to avoid excessive API calls.
Note that some functionality mentioned as being included in the 2.8.4 release was not actually included so this release resolves that.
  • Like
Reactions: Gonanda
  • Add a per-server "Kick user if they are no longer in allowed user groups" flag.
  • Avoid duplicate key errors when archiving jobs.
  • Give up trying to trigger jobs if they have failed 3 or more times.
  • Properly clean up jobs that have failed.
  • Fix kicking a user not actually kicking them.
  • Fix old sync long entries not being pruned as expected.
  • When modifying the XenForo user-group to Discord role mappings, only trigger a re-sync for the affected server to avoid excessive API calls.
  • Minor code improvements and stylistic changes.
  • Harden function to get Discord server mapping.
  • Fix group sync position tracking not being displayed correctly.
  • Add "server-ids" argument to xf-rebuild:nf-discord-sync-log command.
  • Reduce API calls when syncing XF usernames to Discord server usernames.
  • Fix connected_account_associated_nfDiscord template was out of date.
  • Fix updating the XF user group to Discord role mapping did not reliably re-sync all applicable users.
  • Ensure server ID is of the correct type when syncing.
  • Like
Reactions: Xon
  • Include additional contextual information when sending a notification to Discord. The content of these messages can be customised by editing the "nfDiscord_notice.*" phrases.
  • Fix per-server join announcements not being sent if the channel is on another server.
  • Fix "Join pending" not displaying correctly for relevant servers when the user refreshes the "Connected accounts" page.
  • Fix XF=>Discord sync logic could fail if the announcement channel was not set.
  • Like
Reactions: Xon
  • Add support for multiple servers when using XenForo to Discord role syncing.
  • Add support for XenForo Media Gallery and send notifications to Discord when new media is uploaded.
  • Add support for XR Product Manager and send notifications to Discord when products are purchased.
  • Add an option to globally disable sending Discord DMs.
  • Add a per-server allow list of user groups that can join a server.
  • First sync notifications now support multiple servers.
  • Display guild ID when viewing the server list.
  • Archive queue jobs to a separate table for additional logging.
  • When updating a resource, include the resource icon in the notification if it exists.
  • You may now upload a custom footer icon to be displayed within notifications.
  • The color associated with a notification can now be customised.
  • Include additional troubleshooting steps when Discord roles can not be fetched.
  • Update included widget to look and feel more native for easier restyling.
  • Update channel listing in XenForo admin panel to display text channels from all connected servers.
  • Replace bundled companion bot with a PHP-based one.
  • Fix not being able to update channel name and topic information from the admin panel.
  • Fix "Kick from Discord server on dissociation" option not reliably kicking the user.
  • Other assorted bits of code clean up.
  • Add initial support for cross-posting content to Discord forum channels.
  • If a DM from the site to a user fails due to a lack of permissions, disable the feature and send a site alert.
  • Cache server object to reduce database queries.
  • Add option to log when Discord rate limits are being hit.
  • Add option to log when Discord is hitting permission failures.
  • Adjust retry times to avoid clock skew.
  • Fix the wrong user being linked to a conversation DM.
  • Other assorted API wrapper code improvements.
  • Like
Reactions: Xon
  • Improve tracking of the nf_discord_account_connected flag.
  • Ensure the Discord queue is dequeued on add-on uninstall.
  • Fix error when trying to access the users API endpoint.
  • Fix error when there is a queued job but the API is unavailable.
  • Fix "Kick from Discord server on dissociation" not working as expected.
  • Fix "Enable syncing of XenForo bans with Discord bans" being ignored when a ban was deleted.
  • Like
Reactions: Nirjonadda
Top Bottom