{"id":18952665,"url":"https://github.com/puddyclub/discord-command-editor","last_synced_at":"2026-04-12T05:33:35.660Z","repository":{"id":57166691,"uuid":"338100868","full_name":"PuddyClub/Discord-Command-Editor","owner":"PuddyClub","description":"Discord Slash Commands Editor.","archived":false,"fork":false,"pushed_at":"2021-05-06T18:29:49.000Z","size":416,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T17:23:09.807Z","etag":null,"topics":["command","customizable","discord","editor","express","javascript","json","node","nodejs","npm-module","slash-commands","website"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PuddyClub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"patreon":"JasminDreasond","ko_fi":"JasminDreasond"}},"created_at":"2021-02-11T17:30:11.000Z","updated_at":"2025-02-08T18:07:53.000Z","dependencies_parsed_at":"2022-08-30T13:10:13.063Z","dependency_job_id":null,"html_url":"https://github.com/PuddyClub/Discord-Command-Editor","commit_stats":null,"previous_names":["tinypudding/discord-command-editor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PuddyClub%2FDiscord-Command-Editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PuddyClub%2FDiscord-Command-Editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PuddyClub%2FDiscord-Command-Editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PuddyClub%2FDiscord-Command-Editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PuddyClub","download_url":"https://codeload.github.com/PuddyClub/Discord-Command-Editor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239952598,"owners_count":19723922,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["command","customizable","discord","editor","express","javascript","json","node","nodejs","npm-module","slash-commands","website"],"created_at":"2024-11-08T13:34:14.632Z","updated_at":"2025-12-30T22:58:10.899Z","avatar_url":"https://github.com/PuddyClub.png","language":"JavaScript","funding_links":["https://patreon.com/JasminDreasond","https://ko-fi.com/JasminDreasond","https://www.patreon.com/JasminDreasond","https://ko-fi.com/jasmindreasond"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003cp\u003e\n    \u003ca href=\"https://discord.gg/TgHdvJd\"\u003e\u003cimg src=\"https://img.shields.io/discord/413193536188579841?color=7289da\u0026logo=discord\u0026logoColor=white\" alt=\"Discord server\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/@tinypudding/discord-command-editor\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@tinypudding/discord-command-editor.svg?maxAge=3600\" alt=\"NPM version\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/@tinypudding/discord-command-editor\"\u003e\u003cimg src=\"https://img.shields.io/npm/dt/@tinypudding/discord-command-editor.svg?maxAge=3600\" alt=\"NPM downloads\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.patreon.com/JasminDreasond\"\u003e\u003cimg src=\"https://img.shields.io/badge/donate-patreon-F96854.svg?logo=patreon\" alt=\"Patreon\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://ko-fi.com/jasmindreasond\"\u003e\u003cimg src=\"https://img.shields.io/badge/donate-ko%20fi-29ABE0.svg?logo=ko-fi\" alt=\"Ko-Fi\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp\u003e\n    \u003ca href=\"https://nodei.co/npm/@tinypudding/discord-command-editor/\"\u003e\u003cimg src=\"https://nodei.co/npm/@tinypudding/discord-command-editor.png?downloads=true\u0026stars=true\" alt=\"npm installnfo\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003c/div\u003e\n\n# Discord-Command-Editor\nDiscord Slash Commands Editor.\n\n\u003chr/\u003e\n\n## How to use\nBy entering the website for the first time, you will agree to the terms of use of the application.\nYour next step is to get your bot client ID and your bot token to login.\nAfter you log in, you will have to choose where you want to open your command editor: Global commands or Guild commands (Guild is a Discord Server).\n\nTo get a guild ID, you need to activate developer mode in your Discord Configuration and right click on the guild icon.\nAfter you choose where you want to use your command editor, you will see a JSON editor.\n\nThe JSON shown is the list of commands installed in your bot. Here you will have your complete freedom to edit your command list. Do not forget that the list of commands is always made through an Array, and you will also have buttons to export or import a list of commands.\n\nYour entire list of commands needs to be done using what is being said in official Discord Documentation: https://discord.com/developers/docs/interactions/slash-commands#example-walkthrough\n\n\u003chr/\u003e\n\n## How to install\n```js\n\n// Prepare Express\nconst express = require('express');\nconst app = express();\n\n// Prepare Module\nconst commandEditor = require('@tinypudding/discord-command-editor');\n\n// Start Module\ncommandEditor(express, app, options, callback);\n\n```\n\n### express (Express Module)\nThe express Module from require(). If you don't use the callback, this option will be used to use the module's default image folder.\n\n### app (Express App)\nThe express app made by express().\n\n### options (Object)\nConfiguration of the website customization.\n\n### callback (Function)\nHere you can send more methods to your Express application. Example? It is recommended that you define the static file folder here. \n\n\u003chr/\u003e\n\n## Dependent static files\n```\n/img/error.png\n```\n\n\u003chr/\u003e\n\n## Example\n```js\n\n// Prepare Module\nconst express = require('express');\nconst app = express();\nrequire('@tinypudding/discord-command-editor')(express, app, {\n\n    // File Cache (You need to install the \"moment-timezone\" module for this configuration to work.)\n    fileMaxAge: 2592000000,\n\n    // Allow the application to check the installed version to warn a new version update on the website's homepage.\n    checkVersion: true,\n\n    // Allow the version to be shown on the website's homepage.\n    showVersion: true,\n\n    // Meta\n    meta: '\u003clink href=\"/img/icon.png\" rel=\"icon\" type=\"image/x-icon\"/\u003e' +\n        '\u003cmeta name=\"robots\" content=\"noindex\" /\u003e' +\n        '\u003cmeta name=\"googlebot\" content=\"noindex\"/\u003e' +\n        '\u003cmeta name=\"googlebot-news\" content=\"noindex\"/\u003e' +\n        '\u003cmeta name=\"theme-color\" content=\"#506fb4\"\u003e' +\n        '\u003cmeta name=\"msapplication-navbutton-color\" content=\"#506fb4\"\u003e' +\n        '\u003cmeta name=\"apple-mobile-web-app-status-bar-style\" content=\"#506fb4\"\u003e',\n\n    // JS\n    js: {\n\n        // https://github.com/puleos/object-hash/\n        'objecthash': '\u003cscript src=\"https://cdn.jsdelivr.net/npm/object-hash@2.1.1/dist/object_hash.min.js\" integrity=\"sha384-Z4R1Xdk1ps4lJkucY9aotf0f7DJWWKyen7Be/G+lodTei33jHgz7I0t76LrtRKai\" crossorigin=\"anonymous\"\u003e\u003c/script\u003e',\n\n        // https://github.com/eligrey/FileSaver.js\n        'filesaver': '\u003cscript src=\"https://cdnjs.cloudflare.com/ajax/libs/FileSaver.js/2.0.5/FileSaver.min.js\" integrity=\"sha512-Qlv6VSKh1gDKGoJbnyA5RMXYcvnpIqhO++MhIM2fStMcGT9i2T//tSwYFlcyoRRDcDZ+TYHpH8azBBCyhpSeqw==\" crossorigin=\"anonymous\"\u003e\u003c/script\u003e',\n\n        // https://jquery.com\n        'jquery': '\u003cscript src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js\" integrity=\"sha512-DUC8yqWf7ez3JD1jszxCWSVB0DMP78eOyBpMa5aJki1bIRARykviOuImIczkxlj1KhVSyS16w2FSQetkD4UU2w==\" crossorigin=\"anonymous\"\u003e\u003c/script\u003e',\n\n        // https://getbootstrap.com/docs/4.6/getting-started/introduction/\n        'bootstrap': '\u003cscript src=\"https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.6.0/js/bootstrap.bundle.min.js\" integrity=\"sha512-wV7Yj1alIZDqZFCUQJy85VN+qvEIly93fIQAN7iqDFCPEucLCeNFz4r35FCo9s6WrpdDQPi80xbljXB8Bjtvcg==\" crossorigin=\"anonymous\"\u003e\u003c/script\u003e',\n\n        // https://github.com/gasparesganga/jquery-loading-overlay\n        // https://gasparesganga.com/labs/jquery-loading-overlay/\n        'jqueryloadingoverlay': '\u003cscript src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-loading-overlay/2.1.7/loadingoverlay.min.js\" integrity=\"sha512-hktawXAt9BdIaDoaO9DlLp6LYhbHMi5A36LcXQeHgVKUH6kJMOQsAtIw2kmQ9RERDpnSTlafajo6USh9JUXckw==\" crossorigin=\"anonymous\"\u003e\u003c/script\u003e',\n\n        // https://github.com/jillix/url.js\n        // http://jillix.github.io/url.js/\n        'urljs': '\u003cscript src=\"https://cdnjs.cloudflare.com/ajax/libs/urljs/2.5.0/url.min.js\" integrity=\"sha512-quDzRasixBjD7wB9uvc/ApSn9ShS9ERqFrGR214jf0FUjomXQ7wtSxq0w2LZAvHKCC6myJNamVQBKt4tSeNEJQ==\" crossorigin=\"anonymous\"\u003e\u003c/script\u003e',\n        \n        // https://github.com/saribe/eModal\n        // https://saribe.github.io/eModal/\n        'emodal': '\u003cscript src=\"https://cdnjs.cloudflare.com/ajax/libs/eModal/1.2.69/eModal.min.js\" integrity=\"sha512-OO21WN3HthMwsteuxEKk1SNo7XYJedW7Nyy0BO98nCYLRU57jP7seInkztBrs7Ub236jqe18Gw2/x4AbNsJ2/w==\" crossorigin=\"anonymous\"\u003e\u003c/script\u003e',\n        \n        // https://github.com/julien-maurel/jQuery-Storage-API\n        'jquerystorageapi': '\u003cscript src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-storage-api/1.9.4/jquery.storageapi.min.js\" integrity=\"sha512-rZXftKfJtDmBFPfxFYFjwGM3QadaGJCrOpdaOh3JPkk2wJXSghhUa7bn9CCn7R/UPW29aMuWY0JDnbZEiUYxgQ==\" crossorigin=\"anonymous\"\u003e\u003c/script\u003e',\n\n        // https://github.com/josdejong/jsoneditor\n        // https://jsoneditoronline.org\n        'jsoneditor': '\u003cscript src=\"https://cdnjs.cloudflare.com/ajax/libs/jsoneditor/5.28.2/jsoneditor.min.js\" integrity=\"sha512-bfsUyGahu9QXboUnOAGfGubz8AMLY10PIavnh2q7lc/M5HhR3NOXYqFVTCMS9TcfZqQihbiibdVTtC3woU7gmQ==\" crossorigin=\"anonymous\"\u003e\u003c/script\u003e',\n\n        // https://github.com/pvorb/clone\n        'clone': '\u003cscript src=\"https://cdnjs.cloudflare.com/ajax/libs/clone/1.0.4/clone.min.js\" integrity=\"sha512-DnAb1jKHBEwQiL3WNROTHx15qqHPjb5APGfUFopcXO4gjk4T/vGNwLbffnfwFYfle/cCQ1x/fi5u5qsJmKrPAA==\" crossorigin=\"anonymous\"\u003e\u003c/script\u003e',\n    \n    },\n\n    // CSS\n    css: {\n\n        // Module CSS\n        'index': '\u003clink rel=\"stylesheet\" href=\"/css/defaultDSE.css\" /\u003e',\n            \n        // https://fontawesome.com/\n        'fontawesome': '\u003clink rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css\" integrity=\"sha512-HK5fgLBL+xu6dm/Ii3z4xhlSUyZgTT9tuc/hSrtw6uzJOvgRr2a9jyxxT1ely+B+xFAmJKVSTbpM/CuL7qxO8w==\" crossorigin=\"anonymous\"/\u003e',\n\n        // https://getbootstrap.com/docs/4.6/getting-started/introduction/\n        'bootstrap': '\u003clink rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.6.0/css/bootstrap.min.css\" integrity=\"sha512-P5MgMn1jBN01asBgU0z60Qk4QxiXo86+wlFahKrsQf37c9cro517WzVSPPV1tDKzhku2iJ2FVgL67wG03SGnNA==\" crossorigin=\"anonymous\"/\u003e',\n\n        // https://github.com/josdejong/jsoneditor\n        // https://jsoneditoronline.org \n        'jsoneditor': '\u003clink rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/jsoneditor/5.28.2/jsoneditor.min.css\" integrity=\"sha512-EBuVURdzGGQq+s6e9pCbguXC9AUnSV+jlW4UWpJ4cgcZmzOLJ9EpirGdooRWyfx0IolJ+Er+D7C9QnfoQVw9+w==\" crossorigin=\"anonymous\" /\u003e',\n    \n    }\n\n}, function () {\n\n    // Path\n    const path = require('path');\n\n    // Static Files\n    app.use(express.static(path.join(__dirname, '/public'), {\n        maxAge: '2592000000' // uses milliseconds per docs\n    }));\n\n});\n\n// Start Server\napp.listen(80);\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuddyclub%2Fdiscord-command-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpuddyclub%2Fdiscord-command-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuddyclub%2Fdiscord-command-editor/lists"}