{"id":17670459,"url":"https://github.com/longvuu/Discord-Music-Bot-Typescript","last_synced_at":"2025-08-09T14:31:06.207Z","repository":{"id":259217242,"uuid":"877331076","full_name":"kuronight29/Discord-Music-Bot-Typescript","owner":"kuronight29","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-23T14:20:08.000Z","size":24,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-11T21:06:02.955Z","etag":null,"topics":["bot","bots","discord","discord-bot","discord-bot-template","discord-bot-typescript","discord-music","discord-music-bot","soundcloud","spotify","spotify-api","typerscript"],"latest_commit_sha":null,"homepage":"","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/kuronight29.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":"2024-10-23T13:25:45.000Z","updated_at":"2024-11-21T10:14:22.000Z","dependencies_parsed_at":"2024-10-23T15:56:53.442Z","dependency_job_id":"c731bdb3-f19d-4ec9-82d5-eec39058051f","html_url":"https://github.com/kuronight29/Discord-Music-Bot-Typescript","commit_stats":null,"previous_names":["kuronight29/discord-music-bot-typescript"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuronight29%2FDiscord-Music-Bot-Typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuronight29%2FDiscord-Music-Bot-Typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuronight29%2FDiscord-Music-Bot-Typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuronight29%2FDiscord-Music-Bot-Typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kuronight29","download_url":"https://codeload.github.com/kuronight29/Discord-Music-Bot-Typescript/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229291899,"owners_count":18050238,"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","bots","discord","discord-bot","discord-bot-template","discord-bot-typescript","discord-music","discord-music-bot","soundcloud","spotify","spotify-api","typerscript"],"created_at":"2024-10-24T02:04:41.577Z","updated_at":"2025-08-09T14:31:05.870Z","avatar_url":"https://github.com/kuronight29.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discord-Music-Bot-Typescript\n\n## Introduction\nThis is a Discord Music Bot written in TypeScript. It supports playing music from YouTube, Spotify, and SoundCloud. The bot uses the Discord.js library and the @discordjs/voice package to interact with the Discord API and handle voice connections.\n\n## Prerequisites\n- Node.js (v14 or higher)\n- npm (v6 or higher)\n- A Discord account and a server where you have permission to add a bot\n- YouTube, Spotify, and SoundCloud API credentials\n\n## Setup\n\n1. **Clone the repository:**\n   ```sh\n   git clone https://github.com/kuronight29/Discord-Music-Bot-Typescript.git\n   cd discord-music-bot-typescript\n   ```\n\n2. **Install dependencies:**\n   ```sh\n   npm install\n   ```\n\n3. **Create a `.env` file in the root directory and add your credentials:**\n   ```\n   DISCORD_BOT_TOKEN=YOUR_BOT_TOKEN\n   BOT_PREFIX=!\n   CLIENT_ID=YOUR_CLIENT_ID\n   GUILD_ID=YOUR_GUILD_ID\n   SOUNDCLOUD_CLIENT_ID=YOUR_SOUNDCLOUD_CLIENT_ID\n   SPOTIFY_CLIENT_ID=YOUR_SPOTIFY_CLIENT_ID\n   SPOTIFY_CLIENT_SECRET=YOUR_SPOTIFY_CLIENT_SECRET\n   ```\n\n4. **Run the bot:**\n   ```sh\n   npm start\n   ```\n\n## Commands 🎵\n\n### /help ❓\nDisplays a list of available commands and their descriptions. Use this command to get an overview of what the bot can do and how to use each command.\n\n### /play ▶️\nPlays a song from a given URL. Provide a YouTube, Spotify, or SoundCloud link to start playing music in your voice channel. Make sure you are in a voice channel before using this command!\n\n### /leave 🚶‍♂️\nLeaves the voice channel. Use this command to stop the bot and clear the queue.\n\n### /join 🚶‍♂️\nJoins the voice channel you are in. Use this command to have the bot join your voice channel.\n\n### /volume 🔊\nSets the volume of the currently playing song. Use this command to adjust the volume level.\n\n### /queue 📜\nDisplays the current music queue. Use this command to see what songs are in the queue.\n\n## Notes\n- The bot supports YouTube, Spotify, and SoundCloud links.\n- The bot will only play music in voice channels.\n- The bot will automatically leave the voice channel after the queue is empty.\n- The bot will not play music in text channels.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flongvuu%2FDiscord-Music-Bot-Typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flongvuu%2FDiscord-Music-Bot-Typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flongvuu%2FDiscord-Music-Bot-Typescript/lists"}