Publication Announcements
This function will allow you to form an announcements message with the title, excerpt, and link, then send it to a connected channel.
In the WordPress admin panel go to Settings --> Discord and open General tab. In Announcements subsection you have the option to select any of the existed custom post types.
This function will only work if post type using transition_post_status hook.
Add mention @everyone to the announcement option will allow you to add this mention to the message and all users in the channel will receive a notification alert.
Add an excerpt to the announcement option will allow you to attach excerpt text to the announcement. If an excerpt of the post is empty then this option will not work, the plugin does not generate excerpt from page content.
Add date to the announcement option will allow you to add a date of the beginning of the event to the announcement.
Only The Events Calendar and Modern Events Calendar plugins are supported.
Announce custom post type updates as well option will allow you to send announcements when post type is updated.
Copy link