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

View File

@@ -0,0 +1,27 @@
<script type="text/javascript">
RED.nodes.registerType('discord-token', {
category: 'config',
defaults: {
name: {value:"", required: true},
},
credentials: {
token: {type: "text"},
},
exportable: false,
label: function() {
return this.name;
}
});
</script>
<script type="text/x-red" data-template-name="discord-token">
<div class="form-row">
<label for="node-config-input-name"><i class="icon-tag"></i> Name</label>
<input type="text" id="node-config-input-name">
</div>
<div class="form-row">
<label for="node-config-input-token"><i class="icon-bookmark"></i> Token</label>
<input type="text" id="node-config-input-token">
<p>You can find the Discord API token for one of your bots on <a href="https://discordapp.com/developers/applications" target="_blank">your developer page</a>.</p>
</div>
</script>