{"id":21765902,"url":"https://github.com/jaymun723/containscord","last_synced_at":"2025-10-05T13:22:40.653Z","repository":{"id":50948925,"uuid":"97569702","full_name":"Jaymun723/ContainScord","owner":"Jaymun723","description":"A container to easily make discord bot!","archived":false,"fork":false,"pushed_at":"2021-05-27T01:09:36.000Z","size":33,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T06:05:22.450Z","etag":null,"topics":["bot","create","discord","discord-bot","discord-js","easy","make"],"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/Jaymun723.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-18T07:48:49.000Z","updated_at":"2018-07-30T15:40:27.000Z","dependencies_parsed_at":"2022-09-07T15:40:22.165Z","dependency_job_id":null,"html_url":"https://github.com/Jaymun723/ContainScord","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaymun723%2FContainScord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaymun723%2FContainScord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaymun723%2FContainScord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaymun723%2FContainScord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jaymun723","download_url":"https://codeload.github.com/Jaymun723/ContainScord/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248732484,"owners_count":21152852,"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":["bot","create","discord","discord-bot","discord-js","easy","make"],"created_at":"2024-11-26T13:14:21.554Z","updated_at":"2025-10-05T13:22:35.618Z","avatar_url":"https://github.com/Jaymun723.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ContainScord\n\n[![Known Vulnerabilities](https://snyk.io/test/github/jaymun723/containscord/badge.svg)](https://snyk.io/test/github/jaymun723/containscord) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) [![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://choosealicense.com/licenses/mit/) [![Node version](https://img.shields.io/badge/node-v8.4.0%2B-14ace8.svg)](https://nodejs.org/) [![Build](https://api.travis-ci.org/Jaymun723/ContainScord.svg?branch=master)](https://travis-ci.org/Jaymun723/ContainScord)\n\n\n\u003e **A container to easily make discord bot!**\n\nFor beginners in discord.js, just focus on command, not on the login, the prefix, args etc ... ContainScord do the rest ! For people how knows more about discord.js you don't have to write an endless if/else statement and you will clearly see all commands and events.\n\n## Why use ContainScord ?\n\nConatinScord is fully customisable, fast, simple, clear. Feathuring:\n * Customisable command hanlder\n * Easy prefix: support mention, single chart, words (like 'pls ') and much more !\n * Clear event code\n * [CLI](https://github.com/Jaymun723/ContainScord-CLI)\n * Symply create commands\n\n## Installation without the cli _(for windows)_ \n\nTo install the bot you need node.js 8.4.0 or newer. Clone or download this repository then open a cmd with shift+rightclick -\u003e open command windows here. In the cmd type `npm install` to install dependencies. Configure config.json (add yout token put your prefix etc...). When your okay type `node index.js` use the link to invite the bot to your server and...\nThe bot is launched !!! Now you need to code the commands and the event or grab them...\n\n## Installation with the cli\n\nRefere to this: https://github.com/Jaymun723/ContainScord-CLI#readme\n\n## Creating a command\n\nGo to the `commands` directory and create a new file with extension `.js`.\nPaste in the basic requirement:\n```javascript\nmodule.exports = {\n  name: '',\n  channel: '',\n  permission: '',\n  run: function (client, message, info) {\n\n  }\n}\n```\nThe `name` field is what people must type to invoke the command. The `channel` field is where the command can be invoked. Support: all, dm, text, and a channel name like #botcommand. The `permission` field restrict a command to specific role / permission. Support: all, owner, a permission name like KICK_MEMBERS or a role name like admin. The `run` field is where the magic happends ! In the function put your code ! **Important** ContainScord use [Discord.js](https://discord.js.org/#/) so in the function refere to [discord.js documentation](https://discord.js.org/#/docs/main/stable/general/welcome).\n\n## Example command\n\n```javascript\n// Export the command\nmodule.exports = {\n  // Name of the command\n  name: 'example',\n\n  // Support: 'all', 'dm', 'text', or a channel name like '#bot_command'\n  channel: 'all',\n\n  // Description (optional for external use like info.commands.\u003cname\u003e.desc):\n  description: 'Example description...',\n\n  // Support: 'all' (for all people)\n  //          'owner' (only the owner)\n  //          'KICK_MEMBERS' (discord permission, link to see all of them: https://goo.gl/Zcxwko or chec the role.js file in the data directory)\n  //           /!\\ Case sensitive\n  //          'admin' (Discord Role)\n  //           /!\\ Case sensitive\n  permission: 'all',\n\n  // Execution of the command\n  run: function (client, message, info) {\n    message.reply('Here is an exemple !')\n  }\n}\n```\nThis code create a command named 'example' how works everywhere and when it's use __(like '\u003cprefix\u003eexample')__ it reply to you 'Here is an exemple'.\n\n## Creating events\n\nLook at event that already writed to learn how they works.\n\n## Handler\n\nTo learn how the command handler work look first at handler event then follow the code. Normally you will pass by the file in the handler directory...\n\n## Suggestion \u0026 bugs\n\nFor bugs please use github issues and for suggestion use pull request or contact me at jaymun723@yahoo.com.\n\n## Other stuff\n\n[![JavaScript Style Guide](https://cdn.rawgit.com/standard/standard/master/badge.svg)](https://github.com/standard/standard)\n\nIf you found English error I'm sorry (I'm french)\nContainScord isn't an API it's container to make simplify the creation of command / events. \nContainScord use discord.js.\n* [Discord.js Website](https://discord.js.org/#/)\n* [Discord.js Discord server](https://discord.gg/bRCvFy9)\n\n## License\n\nRead LICENSE for more informations.\nAnd if you don't want to read all the license here is a website how explain the license clearly: https://choosealicense.com/licenses/mit/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaymun723%2Fcontainscord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaymun723%2Fcontainscord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaymun723%2Fcontainscord/lists"}