Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] MUSIC #42

Open
isoares14 opened this issue Jun 11, 2024 · 7 comments
Open

[FEATURE] MUSIC #42

isoares14 opened this issue Jun 11, 2024 · 7 comments
Labels
feature Completely new feature or request

Comments

@isoares14
Copy link

📂 What category is this feature in?

Information

📝 Description of Feature

I would like to suggest you add command to play music from all platforms like spotify youtube soundcloud etc

@isoares14 isoares14 added the feature Completely new feature or request label Jun 11, 2024
@TecEash1
Copy link
Owner

Hi, whilst this is a good feature I do not believe that it is in scope for this project as it does not have much to do with AI. However, you can add your own music system.

Here is some example code, this system using distube:

Music System

Dependencies -

npm install ytdl-core yt-search libsodium-wrappers ffmpeg-static distube @distube/spotify @discordjs/opus

Files -
index.js - https://sourceb.in/n8Wb1Xhehq // Put this file in your bot.js file
music.js - https://sourceb.in/LBwSCUbQAH // create a new folder called music and then create a new file and name it music.js and put this code inside

@isoares14
Copy link
Author

isoares14 commented Jun 14, 2024 via email

@TecEash1
Copy link
Owner

The music.js file is the slash command... not sure what you mean

@isoares14
Copy link
Author

isoares14 commented Jun 14, 2024 via email

@TecEash1
Copy link
Owner

reroute it to the file where you put the index.js code that was provided.

@isoares14
Copy link
Author

isoares14 commented Jun 14, 2024 via email

@TecEash1
Copy link
Owner

Honestly im not sure what to do... this isn't officially supported and I'm not sure how you have configure your bot exactly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Completely new feature or request
Projects
None yet
Development

No branches or pull requests

2 participants