buildActions(baseURL, monitorJSON) {
        const actions = [];

        if (baseURL) {
            actions.push({
                "type": "button",
                "text": {
                    "type": "plain_text",
                    "text": "Visit Uptime Kuma",
                },
                "value": "Uptime-Kuma",
                "url": baseURL + getMonitorRelativeURL(monitorJSON.id),
            });

        }

        const address = this.extractAddress(monitorJSON);
        if (address) {
            try {
                actions.push({
                    "type": "button",
                    "text": {
                        "type": "plain_text",
                        "text": "Visit site",
                    },
                    "value": "Site",
                    "url": new URL(address),
                });

            } catch (e) {
                log.debug("slack", `Failed to parse address ${address} as URL`);
            }
        }

        return actions;
    }
Builds the actions available in the slack message
@param {string} baseURL Uptime Kuma base URL
@param {object} monitorJSON The monitor config
@returns {Array} The relevant action objects