Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Check the content folder for your Exhibit, which should now contain your file.

Sending Custom Exhibit Email Notifications

You can view the categories of email notifications you can subscribe to on the “Notifications” tab of the Gumband UI

...

Most of these events which trigger an email notification are built into Gumband, but you can also trigger Custom Exhibit Notifications when a certain event or error occurs. Simply make a single function call through the Gumband SDK, and anyone subscribed to the “Custom Exhibit Notifications” toggle will receive an email:

Code Block
let gb = new Gumband(
    TOKEN,
    EXHIBIT_ID,
    './manifest.json'
);

gb.on(Sockets.READY, async (manifest) => {
  gb.notifications.email("This is my custom notification message");
}