Nightbot

API

All Modules for Nightbot are given access to make requests on the Users' behalf. All requests are automatically authenticated.

Here is an example of requesting all Custom Commands from Nightbot:

const response = await window.casthub.fetch({
    integration: 'nightbot',
    method: 'GET',
    url: 'commands',
});

This supports the REST API from Nightbot.