{"id":23160951,"url":"https://github.com/sectly/sectly-s-musicbot","last_synced_at":"2025-06-24T21:07:01.696Z","repository":{"id":144668463,"uuid":"330010800","full_name":"Sectly/Sectly-s-MusicBot","owner":"Sectly","description":null,"archived":false,"fork":false,"pushed_at":"2021-01-15T20:07:40.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T19:27:59.181Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Sectly.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-15T20:05:11.000Z","updated_at":"2021-01-15T20:07:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"9f67a796-d11b-49cf-8c12-e1a3e000ede1","html_url":"https://github.com/Sectly/Sectly-s-MusicBot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Sectly/Sectly-s-MusicBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sectly%2FSectly-s-MusicBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sectly%2FSectly-s-MusicBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sectly%2FSectly-s-MusicBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sectly%2FSectly-s-MusicBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sectly","download_url":"https://codeload.github.com/Sectly/Sectly-s-MusicBot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sectly%2FSectly-s-MusicBot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261756761,"owners_count":23205157,"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":[],"created_at":"2024-12-17T23:12:50.119Z","updated_at":"2025-06-24T21:07:01.671Z","avatar_url":"https://github.com/Sectly.png","language":"JavaScript","funding_links":["https://www.buymeacoffee.com/gabrieltanner"],"categories":[],"sub_categories":[],"readme":"# Discord Music bot\r\n\r\nA simple discord bot that helps you manage your server by providing useful commands like playing music or deleting text messages.\r\n\r\nYou can find the tutorial about building a discord music bot [here](https://gabrieltanner.org/blog/dicord-music-bot). \r\n\r\n## Table of content\r\n\r\n* [Features](#features)\r\n* [Requirements](#requirements)\r\n* [Getting started](#getting-started)\r\n* [Common errors](#common-errors)\r\n* [Author](#author)\r\n* [License](#license)\r\n\r\n## Features\r\n\r\n- Ban\r\n- Userinfo\r\n- Play music\r\n- Skip songs\r\n- Stop music\r\n- Purge text messages\r\n\r\n## Requirements\r\n\r\n- [Node](https://nodejs.org/en/)\r\n- [NPM](https://www.npmjs.com/)\r\n- [FFMPEG](https://www.ffmpeg.org/)\r\n- [Docker](https://www.docker.com/) (optional)\r\n\r\n## Getting started\r\n\r\nFirst, make sure you have all the required tools installed on your local machine then continue with these steps.\r\n\r\n### Installation\r\n\r\n```bash\r\n# Clone the repository\r\ngit clone https://github.com/TannerGabriel/discord-bot.git\r\n\r\n# Enter into the directory\r\ncd discord-bot/\r\n\r\n# Install the dependencies\r\nnpm install\r\n```\r\n\r\n### Configuration\r\n\r\nAfter cloning the project and installing all dependencies, you need to add your Discord API token in the config.json file.\r\n\r\n### Starting the application\r\n\r\n```bash\r\nnode index.js\r\n```\r\n\r\n### Starting the application using Docker\r\n\r\n```bash\r\n# Build the image\r\ndocker build --tag discordbot .\r\n\r\n# Run the image\r\ndocker run -d discordbot\r\n```\r\n\r\n## Common errors\r\n\r\nHere is a list of common errors and how you can fix them.\r\n\r\n### Dependencies aren't up to date\r\n\r\nThe packages used in this repository get updated often, especially the ytdl-core package. That is why it is always worth a try updating those if you get an error like `invalid URL: undefined` or when the bot crashes when running the play command.\r\n\r\n```bash\r\nnpm install ytdl-core@latest\r\n```\r\n\r\n### FFMPEG is not installed on the machine running the bot\r\n\r\nThe `play` command requires FFMPEG to be installed on the machine that is running the bot. You can download it on the official [FFMPEG website](https://www.ffmpeg.org/). Note: This isn't relevant if you use the Dockerfile because it will install FFMPEG inside of the container.\r\n\r\n## Author\r\n\r\nGabriel Tanner\r\n\r\n## Support me\r\n\r\n\u003ca href=\"https://www.buymeacoffee.com/gabrieltanner\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;\" \u003e\u003c/a\u003e\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE) file for details","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsectly%2Fsectly-s-musicbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsectly%2Fsectly-s-musicbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsectly%2Fsectly-s-musicbot/lists"}