{"id":20029308,"url":"https://github.com/lrmn7/yuimusic-bot-discord","last_synced_at":"2026-05-13T19:34:15.351Z","repository":{"id":172777888,"uuid":"649761963","full_name":"lrmn7/yuimusic-bot-discord","owner":"lrmn7","description":"Yui`s Music - Yui`s is a Discord music bot that uses Discord.js, Shoukaku, Prisma Client (ORM) database (MongoDB), and TypeScript.","archived":false,"fork":false,"pushed_at":"2023-06-26T20:43:41.000Z","size":8642,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-01T22:38:05.363Z","etag":null,"topics":["bot-discord","discord-bot","discord-music","yui-music"],"latest_commit_sha":null,"homepage":"https://yui-music.is-a.fun","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lrmn7.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},"funding":{"github":"lrmn7","patreon":null,"open_collective":null,"ko_fi":"lrmn7","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://trakteer.id/lrmn"]}},"created_at":"2023-06-05T15:19:42.000Z","updated_at":"2023-06-06T09:51:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"10c17c2c-b0ae-4f80-809e-ae5c1f15f981","html_url":"https://github.com/lrmn7/yuimusic-bot-discord","commit_stats":null,"previous_names":["lrmn7/yuimusic","lrmn7/yuimusic-bot-discord"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lrmn7%2Fyuimusic-bot-discord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lrmn7%2Fyuimusic-bot-discord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lrmn7%2Fyuimusic-bot-discord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lrmn7%2Fyuimusic-bot-discord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lrmn7","download_url":"https://codeload.github.com/lrmn7/yuimusic-bot-discord/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224420492,"owners_count":17308172,"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","discord-bot","discord-music","yui-music"],"created_at":"2024-11-13T09:19:37.682Z","updated_at":"2026-05-13T19:34:15.199Z","avatar_url":"https://github.com/lrmn7.png","language":"TypeScript","funding_links":["https://github.com/sponsors/lrmn7","https://ko-fi.com/lrmn7","https://trakteer.id/lrmn"],"categories":[],"sub_categories":[],"readme":"\n\u003ccenter\u003e\u003cimg src=\"https://res.cloudinary.com/lrmn/image/upload/v1685918349/yui_ls2yfe.png\" /\u003e\u003c/center\u003e\n\n[![Run on Repl.it](https://repl.it/badge/github/lrmn/yuimusic)](https://repl.it/github/lrmn7/yuimusic)\n[![Remix on Glitch](https://cdn.glitch.com/2703baf2-b643-4da7-ab91-7ee2a2d00b5b%2Fremix-button.svg)](https://glitch.com/edit/#!/import/github/lrmn7/yuimusic)\n[![Run on Hop.io](https://res.cloudinary.com/lrmn/image/upload/c_thumb,g_face,w_75/v1685977085/lzZYjpqm_400x400_kwtfxu.png)](https://hop.io)\n\n  \u003ch1 align=\"center\"\u003eYui`s Music\u003c/h1\u003e\n\n  \u003cp align=\"center\"\u003eYui`s is a Discord music bot that uses Discord.js, Shoukaku, Prisma Client (ORM) database (MongoDB), and TypeScript.\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://discord.com/api/oauth2/authorize?client_id=1091257209469546566\u0026permissions=8\u0026scope=bot%20applications.commands\"\u003eInvite Yui`s Music\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/lrmn7/yuimusic/issues\"\u003eReport Bug \u0026 Request Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n## 🔥 Unique Features\n\n- Developed using Typescript and Discord.js v14\n- Advanced Music System\n- Customizable Prefix\n- Powerful Search Engine\n- 12 + Music Filters\n- Hybrid Command Handling (Slash and Normal Commands)\n- Highly Configurable\n- User-friendly and Easy to Use\n- 24/7 Music Playback\n- Playlist commands\n- Setup music channel\n\n## 🎶 Support Sources\n\n🔍 **Default Sources**:\n\n- ![YouTube](https://img.shields.io/badge/YouTube-FF0000?style=plastic\u0026logo=youtube\u0026logoColor=white)\n- ![SoundCloud](https://img.shields.io/badge/SoundCloud-FF3300?style=plastic\u0026logo=soundcloud\u0026logoColor=white)\n- ![Twitch](https://img.shields.io/badge/Twitch-9146FF?style=plastic\u0026logo=twitch\u0026logoColor=white)\n- ![Bandcamp](https://img.shields.io/badge/Bandcamp-629AA9?style=plastic\u0026logo=bandcamp\u0026logoColor=white)\n- ![Vimeo](https://img.shields.io/badge/Vimeo-1AB7EA?style=plastic\u0026logo=vimeo\u0026logoColor=white)\n- ![http](https://img.shields.io/badge/http-FFA500?style=plastic\u0026logo=http\u0026logoColor=white)\n\n🔌 **Plugin Sources**: `(Require: LavaLink v3.6.x)`\n\n**Note: You need to install the plugins to use these sources**\n\n- ![Spotify](https://img.shields.io/badge/Spotify-1ED760?style=plastic\u0026logo=spotify\u0026logoColor=white) ([Required Plugin][LavaSry])\n- ![Deezer](https://img.shields.io/badge/Deezer-FF0000?style=plastic\u0026logo=deezer\u0026logoColor=white) ([Required Plugin][LavaSry])\n- ![Apple Music](https://img.shields.io/badge/Apple%20Music-000000?style=plastic\u0026logo=apple-music\u0026logoColor=white) ([Required Plugin][LavaSry])\n- ![Yandex Music](https://img.shields.io/badge/Yandex%20Music-FF0066?style=plastic\u0026logo=yandex-music\u0026logoColor=white) ([Required Plugin][LavaSry])\n- ![Mixcloud](https://img.shields.io/badge/Mixcloud-51C4D3?style=plastic\u0026logo=mixcloud\u0026logoColor=white) ([Required Plugin][skybot-lavalink-plugin])\n- ![Ocremix](https://img.shields.io/badge/Ocremix-FF6600?style=plastic\u0026logo=ocremix\u0026logoColor=white) ([Required Plugin][skybot-lavalink-plugin])\n- ![Clyp](https://img.shields.io/badge/Clyp-6BB5A6?style=plastic\u0026logo=clyp\u0026logoColor=white) ([Required Plugin][skybot-lavalink-plugin])\n- ![Reddit](https://img.shields.io/badge/Reddit-FF4500?style=plastic\u0026logo=reddit\u0026logoColor=white) ([Required Plugin][skybot-lavalink-plugin])\n- ![Getyarn](https://img.shields.io/badge/Getyarn-FF9000?style=plastic\u0026logo=getyarn\u0026logoColor=white) ([Required Plugin][skybot-lavalink-plugin])\n- ![TikTok](https://img.shields.io/badge/TikTok-FF2D55?style=plastic\u0026logo=tiktok\u0026logoColor=white) ([Required Plugin][skybot-lavalink-plugin])\n- ![Soundgasm](https://img.shields.io/badge/Soundgasm-F1672F?style=plastic\u0026logo=soundgasm\u0026logoColor=white) ([Required Plugin][skybot-lavalink-plugin])\n- ![Text To Speech](https://img.shields.io/badge/Text%20To%20Speech-3080ff?style=plastic\u0026logo=google-translate\u0026logoColor=white) ([Required Plugin][skybot-lavalink-plugin])\n\n[LavaSry]: https://github.com/TopiSenpai/LavaSrc\n[skybot-lavalink-plugin]: https://github.com/DuncteBot/skybot-lavalink-plugin\n\n### **Need Help with plugins?** Join our [Discord Server](https://discord.gg/WFfjrQxnfH) and ask in the `#support` channel\n\n## 📚 Commands\n\n\u003cdetails\u003e\u003csummary\u003eClick to View Commands\u003c/summary\u003e\n\n| Name        | Description                              | Options                                   |\n|-------------|------------------------------------------|-------------------------------------------|\n| `prefix`      | Shows the bot's prefix                    |                                           |\n| `help`        | Shows the help menu                       | `command`: The command you want to get info  |\n|               |                                          |          on                               |\n| `info`        | Shows information about the bot           |                                           |\n| `invite`      | Sends the bot's invite link               |                                           |\n| `ping`        | Shows the bot's ping                      |                                           |\n| `clearqueue`  | Clears the queue                          |                                           |\n| `join`        | Joins the voice channel                   |                                           |\n| `leave`       | Leaves the voice channel                  |                                           |\n| `nowplaying`  | Shows the currently playing song          |                                           |\n| `play`        | Plays a song from YouTube or Spotify      | `song`: The song you want to play            |\n| `pause`       | Pauses the current song                   |                                           |\n| `queue`       | Shows the current queue                   |                                           |\n| `remove`      | Removes a song from the queue             | `song`: The song number                      |\n| `resume`      | Resumes the current song                  |                                           |\n| `seek`        | Seeks to a certain time in the song        |                                           |\n| `shuffle`     | Shuffles the queue                        |                                           |\n| `skip`        | Skips the current song                    |                                           |\n| `skipto`      | Skips to a specific song in the queue      |                                           |\n| `stop`        | Stops the music and clears the queue      |                                           |\n| `volume`      | Sets the volume of the player             | `number`: The volume you want to set         |\n\n\u003c/details\u003e\n\n## 🔧 Requirements\n\nBefore starting with the installation, you need to have the following:\n\n- ![Node.js](https://img.shields.io/badge/Node.js-43853D?style=for-the-badge\u0026logo=node.js\u0026logoColor=white) [v18.16.0 or higher](https://nodejs.org/en/download/)\n- ![MongoDB](https://img.shields.io/badge/MongoDB-4EA94B?style=for-the-badge\u0026logo=mongodb\u0026logoColor=white) [v4.4.0 or higher](https://www.mongodb.com/try/download/community)\n- ![Lavalink](https://img.shields.io/badge/Lavalink-7289DA?style=for-the-badge\u0026logo=discord\u0026logoColor=white) [v3.7.5 or higher](https://github.com/freyacodes/Lavalink)\n\n## 🚀 Installation from source\n\n1. Clone the Lavamusic repository:\n  \n  ```bash\n  git clone  https://github.com/lrmn7/yuimusic-bot-discord.git\n```\n\n2. change the directory to Yuimusic\n\n```bash\ncd yuimusic\n```\n\n3. Install the required packages:\n\n```bash\nnpm install\n```\n\n4. Set up your environment variables:\n\nCreate a `.env` file in the root directory of your project with the following variables:\n  \n  ```bash\nTOKEN=\".\" # Your bot token\nPREFIX=\"!\" # Your prefix\nOWNER_IDS=\"742457036914294855\" # Your ID\nCLIENT_ID=\"1088032923443277824\" # Your bot client ID\nGUILD_ID=\"1088032923443277824\" # Your server ID (if you want to use it for a single server)\nPRODUCTION=\"true\" # \"true\" for production\nDATABASE_URL=\"mongodb+srv://Lrmn:xxxxxxxxxxxx\" # Your MongoDB URL\nLAVALINK_URL=\"yuimusic.hop.sh:443\" # Your lavalink url\nLAVALINK_AUTH=\"madewithstress\" # Your lavalink password\nLAVALINK_NAME=\"Yuimusic\" # Your lavalink name\nLAVALINK_SECURE= \"true\" # true for secure lavalink\n\n```\n\n5. Generate the Prisma client:\n\n**If you using replit than read this:**\n\ngo to **[prisma/schema.prisma](https://github.com/lrmn7/yuimusic/blob/main/prisma/schema.prisma)** and add engine type like this or remove `//` behind the `engineType`\n\n```bash\ngenerator client {\n  provider = \"prisma-client-js\"\n  engineType = \"binary\"\n}\n```\n\n and then run this command\n  \n  ```bash\n  npx prisma generate\n```\n\n6. Run the bot:\n  \n  ```bash\n  npm run start or npm start\n```\n\n7. Invite the bot to your server:\n\nGenerate an invite link for your bot and invite it to your server using the Discord Developer Portal or using permissions calculator: \u003chttps://discordapi.com/permissions.html\u003e\n\n## 🚀 Installation using docker-compose\n\nThis section assumes you have docker and docker-compose installed and is running correctly.\n\nDownload the [Docker-Compose file](https://raw.githubusercontent.com/lrmn7/yuimusic/main/docker-compose.yml) in a seperate folder like lavamusic.\n\nEdit the Docker-Compose file and make sure to edit the following variables:\n\n```yaml\nTOKEN=\".\" # Your bot token and remember, don't show everyone your bot token\nPREFIX=\"!\" # Your prefix\nOWNER_IDS=\"742457036914294855\" # Your ID\nCLIENT_ID=\"1088032923443277824\" # Your bot client ID\nGUILD_ID=\"1088032923443277824\" # Your server ID (if you want to use it for a single server)\nPRODUCTION=\"true\" # \"true\" for production\n\n```\n\nFor more information how to fill all the varialabes go to this page.\nYou do not need to edit anything like the LAVA_LINK_URL, LAVA_LINK_AUTH, LAVA_LINK_NAME, LAVA_LINK_SECURE, DATABASE_URL, and the ports.\nUnless you know what your doing.\n\nAfter saving your changes you can open a terminal and go to the same location as the docker-compose file. Then type the following:\n\n```bash\ndocker-compose up -d\n```\n\nThe above command will start all your services and your bot should be up and running!\n\nTo update, you only have to type the following:\n\n```bash\ndocker-compose up --force-recreate --build -d\nimage prune -f\n```\n\nYou can automate this by using [Watchtower](https://github.com/containrrr/watchtower). The following should be sufficient:\n\n```bash\ndocker run --detach \\\n    --name watchtower \\\n    --volume /var/run/docker.sock:/var/run/docker.sock \\\n    --restart on-failure \\\n    containrrr/watchtower --cleanup\n```\n\nDo note that the bot will restart itself to update to the latest!\n\n## 🔗 Useful Links\n\n- ![Node.js](https://img.shields.io/badge/Node.js-43853D?style=for-the-badge\u0026logo=node.js\u0026logoColor=white) [Node.js](https://nodejs.org/en/download/)\n- ![Discord.js](https://img.shields.io/badge/Discord.js-7289DA?style=for-the-badge\u0026logo=discord\u0026logoColor=white) [Discord.js](https://discord.js.org/#/)\n- ![Prisma](https://img.shields.io/badge/Prisma-1B222D?style=for-the-badge\u0026logo=prisma\u0026logoColor=white) [Prisma](https://www.prisma.io/)\n- ![Lavalink](https://img.shields.io/badge/Lavalink-7289DA?style=for-the-badge\u0026logo=discord\u0026logoColor=white) [Lavalink](https://github.com/freyacodes/Lavalink)\n- ![MongoDB](https://img.shields.io/badge/MongoDB-4EA94B?style=for-the-badge\u0026logo=mongodb\u0026logoColor=white) [MongoDB](https://www.mongodb.com/)\n- ![Docker](https://img.shields.io/badge/Docker-2496ED?style=for-the-badge\u0026logo=docker\u0026logoColor=white) [Docker](https://www.docker.com/)\n- ![Docker-Compose](https://img.shields.io/badge/Docker--Compose-2496ED?style=for-the-badge\u0026logo=docker\u0026logoColor=white) [Docker-Compose](https://docs.docker.com/compose/)\n\n1. Fork the repository and create a new branch for your feature or bug fix.\n2. Write clean and concise code that follows the established coding style.\n3. Create detailed and thorough documentation for any new features or changes.\n4. Write and run tests for your code.\n5. Submit a pull request with your changes.\n\n## 🔐 License\n\nDistributed under the Apache-2.0 license License. See ![LICENSE](https://img.shields.io/github/license/lrmn7/yuimusic?style=social) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flrmn7%2Fyuimusic-bot-discord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flrmn7%2Fyuimusic-bot-discord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flrmn7%2Fyuimusic-bot-discord/lists"}