{"id":21876975,"url":"https://github.com/antoinemcx/structure-discord-bot","last_synced_at":"2025-04-07T06:10:31.481Z","repository":{"id":39920731,"uuid":"268358983","full_name":"antoinemcx/Structure-Discord-Bot","owner":"antoinemcx","description":"🚀 Command, slash command \u0026 event handler - Discord Bot Template (v14)","archived":false,"fork":false,"pushed_at":"2024-11-23T21:53:32.000Z","size":96,"stargazers_count":86,"open_issues_count":0,"forks_count":10,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T05:59:37.542Z","etag":null,"topics":["command-handler","discord-bot","discord-bot-template","discord-js","discord-js-v14","discordjs","event-handler","slash-command-handler","slash-commands"],"latest_commit_sha":null,"homepage":"https://discord.gg/G6WQsMQShZ","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/antoinemcx.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"antoinemcx"}},"created_at":"2020-05-31T20:30:08.000Z","updated_at":"2024-11-23T21:53:56.000Z","dependencies_parsed_at":"2024-11-23T22:17:38.258Z","dependency_job_id":"e2057d1b-78e2-4b29-99af-25b40fbd0011","html_url":"https://github.com/antoinemcx/Structure-Discord-Bot","commit_stats":null,"previous_names":[],"tags_count":1,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoinemcx%2FStructure-Discord-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoinemcx%2FStructure-Discord-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoinemcx%2FStructure-Discord-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoinemcx%2FStructure-Discord-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antoinemcx","download_url":"https://codeload.github.com/antoinemcx/Structure-Discord-Bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247601448,"owners_count":20964864,"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-handler","discord-bot","discord-bot-template","discord-js","discord-js-v14","discordjs","event-handler","slash-command-handler","slash-commands"],"created_at":"2024-11-28T08:07:31.298Z","updated_at":"2025-04-07T06:10:31.462Z","avatar_url":"https://github.com/antoinemcx.png","language":"JavaScript","funding_links":["https://github.com/sponsors/antoinemcx"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eStructure-Discord-Bot\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n    Discord.js command, slash command \u0026amp; event handler by \u003ca href=\"https://github.com/antoinemcx\"\u003eMelio\u003c/a\u003e.\u003cbr /\u003e\n    If you like the project, feel free to put a ⭐ for better referencing ; If you need help, join the \u003ca href=\"https://discord.gg/G6WQsMQShZ\"\u003eserver support\u003c/a\u003e.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca title=\"MIT Lisence\" href=\"LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-blue\" alt=\"MIT License\"\u003e\u003c/a\u003e\n    \u003ca title=\"CodeFactor\" href=\"https://www.codefactor.io/repository/github/antoinemcx/structure-discord-bot\"\u003e\n        \u003cimg src=\"https://www.codefactor.io/repository/github/antoinemcx/structure-discord-bot/badge\" alt=\"CodeFactor\"\u003e\n    \u003c/a\u003e\n    \u003ca title=\"Discord.js version\" href=\"https://www.npmjs.com/package/discord.js\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/discord.js-v14.16.3-blue.svg?logo=npm\" alt=\"Discord.js version\"\u003e\n    \u003c/a\u003e\n    \u003ca title=\"Stars\" href=\"https://github.com/antoinemcx/Structure-Discord-Bot\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/stars/antoinemcx/Structure-Discord-Bot\" alt=\"Stars\"\u003e\n    \u003c/a\u003e\n    \u003ca title=\"Support server\" href=\"https://discord.gg/G6WQsMQShZ\"\u003e\n        \u003cimg src=\"https://img.shields.io/discord/738122381062832180.svg?\u0026logo=discord\u0026logoColor=ffffff\u0026color=7389D8\u0026labelColor=6A7EC2\u0026label=Support\" alt=\"Support server\"\u003e\n    \u003c/a\u003e\n\n   \u003cbr\u003e\n\u003c/p\u003e\n\n## Features\n* 🚀 Ready to code Discord bot\n* 🔨 Files and commands structure\n* 📂 Classic and slash commands handler\n* 🕐 The commands handlers contain permissions and cooldown checker\n* 📋 A slash commands registration file\n* 🎈 Event handler including error handler\n\n\u003cbr\u003e\n\n\n## Starting the project\n\n\n### Configuration\nThe configuration file named **config.js** have to content yout bot's token and prefix, and the IDs of all other owners (or just yours).\n```js\nmodule.exports = {\n    token: 'THE_BOT_TOKEN',\n    botID: 'THE_BOT_ID',\n    prefix: 'THE_BOT_PREFIX',\n    owner: [ \"YOUR_DISCORD_ID\" ],\n};  \n ```\n\n### Installation\n```sh\n$ npm install\n```\n\n### Register slash commands\n```sh\n$ npm run slash\n```\n\n### Start the bot\n```sh\n$ npm run start\n```\n\n\u003cbr\u003e\n\n## More\n\nFor any errors found, please contact me [here](https://discord.com/invite/G6WQsMQShZ) or do a pull request.  \nThis repository is licensed under the MIT License. See the `LICENSE` file ([here](LICENSE)) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantoinemcx%2Fstructure-discord-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantoinemcx%2Fstructure-discord-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantoinemcx%2Fstructure-discord-bot/lists"}