This module gives you an ability to use Discord.js with Blackprint. Unlike other module that can directly be used on Browser, this module require you to connect into Node.js via remote engine.
Please specify the version to avoid breaking changes.
Blackprint.loadModuleFromURL([
'https://cdn.jsdelivr.net/npm/@blackprint/nodes-discord@0.0.1/dist/nodes-discord.mjs'
], {
// Turn this on if you want to load .sf.js, and .sf.css
// only with single .mjs
loadBrowserInterface: true // set to "false" for Node.js/Deno
});
You can use this link to load unpublished nodes and still under development on GitHub.
https://cdn.jsdelivr.net/gh/blackprint/nodes-discord@dist/nodes-discord.mjs
Replace dist
with your latest commit hash (from dist
branch) to avoid cache from CDN.
MIT