Initial upload of discord-contrib-advanced repo

This commit is contained in:
2025-08-10 20:41:47 +02:00
parent a114b6d74a
commit b4e4749006
38 changed files with 9348 additions and 0 deletions

12
discord/discord-token.js Normal file
View File

@@ -0,0 +1,12 @@
module.exports = function(RED) {
function DiscordTokenNode(n) {
RED.nodes.createNode(this,n);
this.token = this.credentials.token;
this.name = n.name;
}
RED.nodes.registerType("discord-token", DiscordTokenNode, {
credentials: {
token: {type:"text"}
}
});
};