{"id":23288102,"url":"https://github.com/d3oxy/djs-commands","last_synced_at":"2026-04-10T22:43:55.857Z","repository":{"id":149282074,"uuid":"612225914","full_name":"D3OXY/djs-commands","owner":"D3OXY","description":"💡 Unleash the potential of your Discord.js bot with DJS-Commands, the intuitive command handling library.","archived":false,"fork":false,"pushed_at":"2023-11-13T15:53:29.000Z","size":356,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T19:17:09.650Z","etag":null,"topics":["automation","command","command-handler","command-handler-v14","commands","discord","discord-js","event-handler-v14","events","tool","utility"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@d3oxy/djs-commands","language":"TypeScript","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/D3OXY.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-03-10T13:23:46.000Z","updated_at":"2023-06-03T12:46:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"6b695237-33be-4bba-972a-27d62c368258","html_url":"https://github.com/D3OXY/djs-commands","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D3OXY%2Fdjs-commands","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D3OXY%2Fdjs-commands/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D3OXY%2Fdjs-commands/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D3OXY%2Fdjs-commands/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/D3OXY","download_url":"https://codeload.github.com/D3OXY/djs-commands/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247511208,"owners_count":20950618,"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":["automation","command","command-handler","command-handler-v14","commands","discord","discord-js","event-handler-v14","events","tool","utility"],"created_at":"2024-12-20T03:13:53.788Z","updated_at":"2026-04-10T22:43:55.815Z","avatar_url":"https://github.com/D3OXY.png","language":"TypeScript","readme":"\u003ca  href='https://discord.com/invite/Stc5W333bq'  target='_blank'\u003e![alt Discord](https://img.shields.io/discord/756751516169142323?color=7289da\u0026logo=discord\u0026logoColor=white)\u003c/a\u003e \u003ca  href='https://github.com/D3OXY/'  target='_blank'\u003e![alt GitHub Repo](https://img.shields.io/github/stars/D3OXY/djs-commands?style=social)\u003c/a\u003e\n\n\u003ca  href='https://nodei.co/npm/@d3oxy/djs-commands/'  target='_blank'\u003e![alt DJSCommands](https://nodei.co/npm/@d3oxy/djs-commands.png)\u003c/a\u003e\n\n# DJSCommands\n\nDJS-Commands is a lightweight, easy-to-use command handling library for Discord.js bots. It's designed to make it easy for developers to add custom commands to their bots without having to write all the boilerplate code themselves.\n\n## Features\n\n-   Simple command creation and management\n-   Supports Legacy commands and Slash commands\n-   Well written, easy to follow [documentation](https://djscommands.deoxy.dev)\n-   Custom command validations\n-   Command aliases\n-   Dynamic argument validation\n-   Easy integration with existing Discord.js bots\n-   Lightweight and fast\n-   Event Handler\n-   Feature handler\n\n# Installation\n\nYou can install DJS-Commands via npm:\n\n```bash\n\nnpm install  @d3oxy/djs-commands\n\n```\n\n# Usage\n\nYou can find the full documentation [here](https://djscommands.deoxy.dev).\nHere's a basic example of how to use DJS-Commands in your bot:\n\n### Javascript\n\n```js\nconst { Client, IntentsBitField, Partials } = require(\"discord.js\");\nconst path = require(\"path\");\nconst CommandHandler = require(\"@d3oxy/djs-commands\");\n\nrequire(\"dotenv\").config();\n\nconst client = new Client({\n    intents: [\n        IntentsBitField.Flags.Guilds,\n        IntentsBitField.Flags.GuildMessages,\n        IntentsBitField.Flags.MessageContent,\n        IntentsBitField.Flags.GuildMembers,\n    ],\n    partials: [Partials.Channel],\n});\n\nclient.on(\"ready\", () =\u003e {\n    console.log(`Logged in as ${client.user.tag}!`);\n    new CommandHandler({\n        client, // Required\n        mongoUri: process.env.MONGO_URI, // Optional\n        commandDir: path.join(__dirname, \"commands\"),\n        featuresDir: path.join(__dirname, \"features\"),\n        defaultPrefix: \"!\", // Default\n        events: {\n            dir: path.join(__dirname, \"events\"),\n        },\n    });\n});\nclient.login(\"YOUR_BOT_TOKEN\");\n```\n\n### Typescript\n\n```js\nimport { Client, IntentsBitField, Partials } from \"discord.js\";\nimport path from \"path\";\nimport CommandHandler from \"@d3oxy/djs-commands\";\nrequire(\"dotenv\").config();\n\nconst client = new Client({\n    intents: [\n        IntentsBitField.Flags.Guilds,\n        IntentsBitField.Flags.GuildMessages,\n        IntentsBitField.Flags.MessageContent,\n        IntentsBitField.Flags.GuildMembers,\n    ],\n    partials: [Partials.Channel],\n});\n\nclient.on(\"ready\", () =\u003e {\n    console.log(`Logged in as ${client.user?.tag}!`);\n    new CommandHandler({\n        client, // Required\n        mongoUri: process.env.MONGO_URI, // Optional\n        commandDir: path.join(__dirname, \"commands\"),\n        featuresDir: path.join(__dirname, \"features\"),\n        defaultPrefix: \"!\", // Default\n        events: {\n            dir: path.join(__dirname, \"events\"),\n        },\n    });\n});\nclient.login(\"YOUR_BOT_TOKEN\");\n```\n\n# Documentation\n\nYou can find the full documentation [here](https://djscommands.deoxy.dev).\n\n-   [Home Page](https://djscommands.deoxy.dev)\n-   [Installation](https://djscommands.deoxy.dev/getting-started/installation)\n-   [Getting Started](https://djscommands.deoxy.dev/getting-started)\n-   [Project Setup - Typescript](https://djscommands.deoxy.dev/getting-started/project-setup-typescript)\n-   [Project Setup - Javascript](https://djscommands.deoxy.dev/getting-started/project-setup-javascript)\n\n# Contributing\n\nContributions are welcome! If you find a bug or have a feature request, please create an issue on the [GitHub repository](https://github.com/D3oxy/djs-commands/issues). If you'd like to contribute code, please fork the repository and submit a pull request.\n\n## License\n\nDJSCommands is released under the [MIT License](https://github.com/D3oxy/djs-commands/blob/main/LICENSE).\n\n---\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd3oxy%2Fdjs-commands","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd3oxy%2Fdjs-commands","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd3oxy%2Fdjs-commands/lists"}