Giter Site home page Giter Site logo

thatguyjacobee / elite-music Goto Github PK

View Code? Open in Web Editor NEW
35.0 2.0 2.0 471 KB

Elite Music is an open-source, feature-packed Discord music bot running on discord.js and discord-player. The bot is complete with large selection of commands, effects, optional features, autoplay, customisability and much more! ๐Ÿš€๐Ÿ’ช

Home Page: https://elite-bot.com/docs/getting-started-music

License: Apache License 2.0

Batchfile 0.09% JavaScript 99.91%
bot discord discord-interactions discord-js discord-music discord-music-bot discord-player discord-voice discordjs filters

elite-music's Introduction

Hey there, I'm Jacob ๐Ÿ‘‹

I'm a developer of Elite Bot and my own community Elite Gaming. I also work in community management at a very cool company! โš”๏ธ

  • I primarily work with Javascript, C# & Java โ–ถ๏ธ
  • Elite Bot - A feature-packed and multi-purpose verified Discord Bot! ๐Ÿš€
  • Elite Music - A powerful and open-source music bot! ๐ŸŽต
  • Run a small gaming community. Join up at: https://elite-gaming.gg ๐Ÿ“
  • Currently a full-time 2nd Year CS Uni Student. ๐Ÿง‘โ€๐Ÿ’ป
  • Love cats and enjoy sweating out Destiny 2 & Rocket League in my spare time ๐Ÿ˜Ž
  • Support: https://discord.gg/x6PwsHtVjE ๐Ÿ†˜

Languages & Tools:

Visual Studio Code

JavaScript

C#

Java

PHP

Python

Node.js

MySQL

MongoDB

HeidiSQL

HTML5

CSS3

Git

GitHub

Terminal

Docker



Anurag's GitHub stats

elite-music's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

5wi5wi

elite-music's Issues

Improve code quality (modularity/functions)

Many parts of the code are quite repetitive, which makes it ideal to change these parts of code into singular functions to reduce code size and improve the overall code quality. Examples include items such as creating a new node queue, embeds (both track & playlist) and more...

Match song titles across all embeds

Between song searching and regular embeds, the song title isn't presented the same. Plex searching uses the format of [Song Title] - [Song Artist], whilst regular songs via play don't use a specific format but what is presented by the fetch.

Would be nice if everything was presented the same and synced up if possible, including the event embeds which are posted (aka new song started playing etc.)

not starting

im hosting the bot on sparkedhost and im having this issue since the 1.5 update, i've tried to reinstall all the files and that didnt help.

the message:

added 23 packages, and audited 253 packages in 2s
36 packages are looking for funding
run npm fund for details
2 moderate severity vulnerabilities
Some issues need review, and may require choosing
a different dependency.
Run npm audit for details.
npm WARN config production Use --omit=dev instead.

up to date, audited 230 packages in 1s
33 packages are looking for funding
run npm fund for details
2 moderate severity vulnerabilities
Some issues need review, and may require choosing
a different dependency.
Run npm audit for details.
[ELITE_ERROR] The .env file could not be found/doesn't exist. Have you followed the setup instructions correctly (https://github.com/ThatGuyJacobee/Elite-Music) to ensure that you have configured your environment correctly?

there is an ENV file and all the configurations are good.

Error when adding a youtube playlist

the title

adding a single song has no issues.

Win11
Self-hosting without any apps

DiscordAPIError[10062]:` Unknown interaction
at handleErrors (C:\Users-------\OneDrive - MKHB\Desktop\Elite-Music-1.5\node_modules@discordjs\rest\dist\index.js:730:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async BurstHandler.runRequest (C:\Users-------\OneDrive - MKHB\Desktop\Elite-Music-1.5\node_modules@discordjs\rest\dist\index.js:835:23)
at async _REST.request (C:\Users-------\OneDrive - MKHB\Desktop\Elite-Music-1.5\node_modules@discordjs\rest\dist\index.js:1278:22)
at async ChatInputCommandInteraction.deferReply (C:\Users-------\OneDrive - MKHB\Desktop\Elite-Music-1.5\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:71:5)
at async Object.execute (C:\Users-------\OneDrive - MKHB\Desktop\Elite-Music-1.5\commands\music\play.js:40:13)
at async Object.execute (C:\Users-------\OneDrive - MKHB\Desktop\Elite-Music-1.5\events\interactionCreate.js:37:17) {
requestBody: { files: undefined, json: { type: 5, data: [Object] } },
rawError: { message: 'Unknown interaction', code: 10062 },
code: 10062,
status: 404,
method: 'POST',
url: 'https://discord.com/api/v10/interactions/1250752752850571325/aW50ZXJhY3Rpb246MTI1MDc1Mjc1Mjg1MDU3MTMyNTpnRFhKaW1KVTNOMWxHdkJma3d2NlBZNmlJU2xCUUZ0UXg0bmR5bEZVR3pvNEloMFZ5TklTNXBZQTBGeWxGVDRpaDZVTHFuOUh1V0RUWTZzWlRFYVA5VTh3S0VjbXlQRWlNSW41a1I1eWRvYkluMkZsNzdIOXYzclBoNWtoNkt6Tw/callback'
}
Error [InteractionNotReplied]: The reply to this interaction has not been sent or deferred.
at ChatInputCommandInteraction.followUp (C:\Users\Aziz.5wi\OneDrive - MKHB\Desktop\Elite-Music-1.5\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:187:64)
at Object.execute (C:\Users-------\OneDrive - MKHB\Desktop\Elite-Music-1.5\commands\music\play.js:93:32)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.execute (C:\Users-------\OneDrive - MKHB\Desktop\Elite-Music-1.5\events\interactionCreate.js:37:17) {
code: 'InteractionNotReplied'
}
Caught Exception: DiscordAPIError[10062]: Unknown interaction
at handleErrors (C:\Users-------\OneDrive - MKHB\Desktop\Elite-Music-1.5\node_modules@discordjs\rest\dist\index.js:730:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async BurstHandler.runRequest (C:\Users-------\OneDrive - MKHB\Desktop\Elite-Music-1.5\node_modules@discordjs\rest\dist\index.js:835:23)
at async _REST.request (C:\Users-------\OneDrive - MKHB\Desktop\Elite-Music-1.5\node_modules@discordjs\rest\dist\index.js:1278:22)
at async ChatInputCommandInteraction.reply (C:\Users-------\OneDrive - MKHB\Desktop\Elite-Music-1.5\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:114:5)
at async Object.execute (C:\Users-------\OneDrive - MKHB\Desktop\Elite-Music-1.5\events\interactionCreate.js:43:17)

Add a lyrics command

Introduce a lyrics command allowing users to define a Genius key in order to retrieve lyrics for a song query.

Multi-Language support

Replace the messages with placeholders and add an extra file where messages are stored so that multiple languages can be used (I'm here for the German file)

Plex Media Server - Music Streaming Support

As suggested by @ripsawuk - Add support to be able to play Plex songs from your Plex media server. This would be convenient for people who have their own music catalogue on Plex as opposed to typical streaming platforms.

However, it should be an optional add-on for users of the bot as a new additional feature.

Implement searching to regular songs

Similarly to how it is implemented in the new /plex command, improve the /play command to include searching if multiple search results are found for a song. In a scenario like this, a search embed will be returned with a menu to allow the user to pick their specific choice. Otherwise, if there is only one result, play the song directly without the search stuff.

Alternatively, another option is to create a separate /search command which allows the user to search for a query and similarly receive a response via an embed and menu. The benefit of this solution is that when running /play it is very likely that most search queries will have more than one search result. Thus a change in directly adding search to that command would make it inconvenient for users who simply want to enter a query and play. This links to #2 issue.

Merge Volume Up/Down buttons into one

Merge both of the buttons on the /nowplaying and the music started embeds to a single one where a modal menu opens up allowing the user to enter a value rather than just incrementing in 10%+/- values.

Plex playlist displaying incorrect total time

When using the /plex search command, the results which return as a playlist type display the incorrect total time for the playlist. Otherwise the importing of the playlist works fine, just the total time is displayed wrong for playlists specifically.

Search Command

Create a new /search command which allows you to add a query just like the play command, but before proceeding with playback, returns an embed with the top x search results. From this list, the user can then either press a button/use a select menu or simply reply with the number they wish to play, and that song will be added to the queue.

More private messages

More messages like turning up the volume, skipping a song or choosing the song could be private messages. So that the bot is not spamming with every interaction and annoying people.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.