{"id":24199167,"url":"https://github.com/bubycloudr/discord-simple.js","last_synced_at":"2025-03-03T09:15:28.149Z","repository":{"id":57212632,"uuid":"449342253","full_name":"bubycloudr/discord-simple.js","owner":"bubycloudr","description":"Simplified yet still as powerful version of discord.js for faster bot development","archived":false,"fork":false,"pushed_at":"2022-02-02T14:47:00.000Z","size":1635,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"prod","last_synced_at":"2025-02-18T01:16:53.550Z","etag":null,"topics":["bot","discord","npm","package"],"latest_commit_sha":null,"homepage":"https://npmjs.com/discord-simple.js","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/bubycloudr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null}},"created_at":"2022-01-18T15:34:58.000Z","updated_at":"2022-01-18T22:02:25.000Z","dependencies_parsed_at":"2022-09-11T22:12:31.445Z","dependency_job_id":null,"html_url":"https://github.com/bubycloudr/discord-simple.js","commit_stats":null,"previous_names":["terthesz/discord-simple.js"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bubycloudr%2Fdiscord-simple.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bubycloudr%2Fdiscord-simple.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bubycloudr%2Fdiscord-simple.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bubycloudr%2Fdiscord-simple.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bubycloudr","download_url":"https://codeload.github.com/bubycloudr/discord-simple.js/tar.gz/refs/heads/prod","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241637287,"owners_count":19994946,"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","discord","npm","package"],"created_at":"2025-01-13T20:23:49.658Z","updated_at":"2025-03-03T09:15:28.123Z","avatar_url":"https://github.com/bubycloudr.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=\"50%\" height=\"50%\"  src=\"https://raw.githubusercontent.com/terthesz/discord-simple.js/dev/.github/images/package-logo-with-text.png\" /\u003e\n\n  \u003cp align=\"center\"\u003eSimplified yet still as powerful version of discord.js\u003cbr/\u003e for faster bot development. 🤖\u003c/p\u003e\n\n  \u003chr/\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"right\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/workflow/status/terthesz/discord-simple.js/%F0%9F%9A%80%20publish?label=publish\u0026style=flat-square\" /\u003e\n  \u003cimg src=\"https://img.shields.io/npm/v/discord-simple.js?label=discord-simple.js\u0026style=flat-square\" /\u003e\n  \u003cimg src=\"https://img.shields.io/snyk/vulnerabilities/npm/discord-simple.js?style=flat-square\" /\u003e\n\u003c/div\u003e\n\n## Usage\n\nFirst of all, you need to install this package. You can do so\n\nusing npm: \u003cbr/\u003e\n\n```\nnpm install discord-simple.js\n```\n\nor using yarn: \u003cbr/\u003e\n\n```\nyarn add discord-simple.js\n```\n\n\u003cbr/\u003e\n\nother instructions can be found in the [documentation (coming soon)](https://google.com)\n\n## Example\n\nHere is an example of how to make a simple bot using this package:\n\n###### src/index.js\n\n```javascript\nconst { SimpleClient } = require('discord-simple.js');\n\nconst client = new SimpleClient('token', 'client_id').load_commands();\n\n// you can add your code here as you would in discord.js\n\nclient.login();\n```\n\n###### src/commands/ping.js\n\n```javascript\nconst { SimpleCommand } = require('discord-simple.js');\n\nmodule.exports = class PingCommand extends SimpleCommand {\n  name = 'ping';\n  description = 'Ping command';\n\n  async execute(interaction, client) {\n    interaction.reply('🏓 pong');\n  }\n};\n```\n\n\u003cbr/\u003e\n\nAs you might have noticed, this library is not efficient for simple bots like this. However, it introduces a great advantage when making a bigger and/or more complex bot.\n\n## About\n\nI made this package to help other developers (but mainly myself) to make discord bots faster without the need to copy and paste or google code all the time.\n\n\u003cbr/\u003e\n\nThis package:\n\n- uses the [discord.js](https://discord.js.org/) v13 library made by Discord.\n- has a full support for TypeScript.\n- is still in development. More changes will be made in the near future.\n\n\u003cbr/\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbubycloudr%2Fdiscord-simple.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbubycloudr%2Fdiscord-simple.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbubycloudr%2Fdiscord-simple.js/lists"}