Giter Club home page Giter Club logo

chords's Issues

Add yoink/grab command

Add command to DM currently played song name.

When you type _yoink, bots send you song that he currently plays.

Pause the player

✔️Feature

Problem Statement
I would like to integrate a command for this bot. The command will pause the currently playing song.

Note:
The format of the command will be _pause keyword.

Assign me the issue.

Youtube Playlist support

Enhancement
Edit ffmpeg settings to support playlist.

Note: Test the app very carefully before submitting PR.

You shouldn't be using youtube_dl or any YouTube related tool to play music

Google's YouTube started hunting discord bot who are using youtube to play music. We can take example of the recent shutdowns of the music bots Groovy and Rythm.

Google's YouTube said:

We notified Groovy of a violation of our terms of service, including modification of the service and its use for commercial purposes.

So I think it would be better to wait until a new tool is created which is validated/approved by YouTube if you don't want any problem in the future.

Here are links to a couple articles treating this subject : Groovy bot is dead - YouTube killed Discord's most popular music bot, Rythm

Installation using UI

Rather than downloading python and everything else why not to make it a batch file. I can do it if the owner agrees.

Addition Of Clear Queue Command!

Feature

Problem Statement
Create a clear queue command for the bot.

Description
I would like the contributor to create a clear queue command. The command will clear the entire queue. The expected command structure is _cq .

Update project's structure

Enhancement/Feature

Project files are a bit messy rn. I'd suggest creating a cog folder and dynamically loading the cogs to add scalability to the project.

I can work on this if approved

Removing a particular song from the queue

✔️Feature

Problem Statement
I would like to integrate a command for this bot. The command will remove a particular song from the queue based on the given index.

Note:
The format of the command will be _r :[index] Keyword.

Assign me the issue.

Resume the player

✔️Feature

Problem Statement
I would like to integrate a command for this bot. The command will resume the player if it is in a pause state.

Note:
The format of the command will be _resume keyword.

Assign me the issue.

Certain commands require roles in discord server, document them, after going through music.py

Documentation
Certain commands mostly require 'DJ' role. Though already mentioned in readme, document it in a dedicated section. Also just add a line of code and explain, how they can add roles.

Code

@commands.has_any_role("DJ")

You can just add roles by adding roles in bracket.

Enhancement
We can also come up with a programming solution to give bot functionality of adding roles. If you wish to work on that aspect create a new issue.

Pause and Resume command has been added as a new feature, add the commands for the same in readme and deploy.md

Documentation

Problem Statement
Pause command as a feature has been added, I would like the contributor to add the details of the same in documentation.

Available Commands

        _p : Plays the song with search keyword following the command 
        _pn : Moves the song to the top of the queue
        _pause : Pause the currently playing song
        _resume : Resume the currently playing song
        _q : Shows the music added in list/queue
        _s : Skips the currently playing music
        _r : removes song from queue at index given.
        _l : Commands the bot to leave the voice channel
        _help : shows all the commands of the bot.

Feedback and issue discussion

Hey!
Got your bot running on my Windows Server, was a bit of a hassle but now its working perfectly! Thank you very much!

Is support for Spotify playlist and song URLs planned? YouTube playlist support would be great too if spotify is not possible.

Edit the documentation to include the commands presently available!

⭐Documentation

Problem Statement
Include the present commands of the bot in a dedicated section of the readme.

Commands Available

        _p : Plays the song with search keyword following the command
        _s : skips the currently playing music
        _q : shows the music added in list/queue
        _l : commands the bot to leave the voice channel
        _help : shows all the commands of the bot.

Add Vote Skip feature to the current commands.

Problem Statement
To implement the vote skip feature which will skip a song if 50% of the people in the voice channel vote to skip it.

Expected Command
The expected command for the bot is as follows _voteskip (1 indexed)

make command to change bot prefix

Feature

Problem Statement
Currently there is no way to change the prefix of the commands

Description
I would like the contributor to create a function for command to change the prefix of the bot. The expected command is _prefix .

Voting for the playnext command.

Feature

Problem Statement
Currently playnext command adds the song on the top of the queue without constraints. I would like the contributor to implement a voting system with playnext command , where if the votes for the song is greater than 50% of the members in voice , only then will it be moved to the top of the queue, otherwise it will added to the bottom.

Design a logo for chords.

Design

Problem Statement
I would like the contributor to design a logo for our bots. The logo will be used as the official avatar for the bot.

Expectation
With a Pull Request I would like the contributor to add a snap of the logo as well for reviewing purpose.

Heroku deployment error

After following the Heroku deployment guide from "https://github.com/amanjha8100/chords/blob/main/doc/deploy.md"
I get this error from the heroku command line after running "python app.py": -

Traceback (most recent call last):
File "/app/app.py", line 16, in
bot.run(os.getenv('TOKEN'))
File "/app/.heroku/python/lib/python3.9/site-packages/discord/client.py", line 723, in run
return future.result()
File "/app/.heroku/python/lib/python3.9/site-packages/discord/client.py", line 702, in runner
await self.start(*args, **kwargs)
File "/app/.heroku/python/lib/python3.9/site-packages/discord/client.py", line 666, in start
await self.connect(reconnect=reconnect)
File "/app/.heroku/python/lib/python3.9/site-packages/discord/client.py", line 601, in connect
raise PrivilegedIntentsRequired(exc.shard_id) from None
discord.errors.PrivilegedIntentsRequired: Shard ID None is requesting privileged intents that have not been explicitly enabled in the developer portal. It is recommended to go to https://discord.com/developers/applications/ and explicitly enable the privileged intents within your application's page. If this is not possible, then consider disabling the privileged intents instead.

Beautify the help_message in music.py.

Design

Problem Statement
The current help message looks dull. I would like the contributor to beautify the help_message using whatever tools necessary mainly unicodes.

Where to look
music.py ---> line 225 to 237.

Command to show the current playing song.

Feature

Problem Statement
Currently the song being played is not displayed while it is playing. Create the command to add this feature.

Description
I would like the contributor to create a function for command to show the current playing song. The expected command is _cp .

"Put to sleep" timer feature

I would like to add a command that would disconnect the bot after a specified time taken as input from the user.
It would help in cases when most people fall asleep whilst listening to music, still draining a lot of power.

_sleep <time unit> <time value>
Time Unit Meaning
h hours
m minutes
s seconds

To deactivate timer

_sleep

Kindly Assign me this issue, if it will be useful for the project. ;)

Playnext and Remove feature has been added, add the commands in documentation.

Documentation

Problem Statement
Integration of playnext and remove command has been completed. I would like the contributor to add the commands in the doc/deploy.md and in readme,md.

Current Available Commands

       _p : Plays the song with search keyword following the command \U0001F3B5
       _s : Skips the currently playing music \U0001F445
       _q : Shows the music added in list/queue \U0001F440
       _l : Commands the bot to leave the voice channel \U0001F634
       _pn : Moves the song to the top of the queue \U0001F4A5
       _r : removes song from queue at index given. \U0001F4A9
       _help : shows all the commands of the bot. \U0001F64F

Beautify the readme section.

Design

Problem Statement
The readme right now looks dull and I would want the contributor to beautify the readme section.

Description
The contributor is free to come up with ideas or choose whatever tool necessary to improve the readme,

Getting this error when trying to run after latest commits

RequestsDependencyWarning: urllib3 (2.0.0.dev0) or chardet (4.0.0) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
Traceback (most recent call last):
File "app.py", line 20, in
bot.run(os.getenv('TOKEN'))
File "/home/ubuntu/.local/lib/python3.8/site-packages/discord/client.py", line 723, in run
return future.result()
File "/home/ubuntu/.local/lib/python3.8/site-packages/discord/client.py", line 702, in runner
await self.start(*args, **kwargs)
File "/home/ubuntu/.local/lib/python3.8/site-packages/discord/client.py", line 665, in start
await self.login(*args, bot=bot)
File "/home/ubuntu/.local/lib/python3.8/site-packages/discord/client.py", line 511, in login
await self.http.static_login(token.strip(), bot=bot)
AttributeError: 'NoneType' object has no attribute 'strip'

New commands added for voteskip and clear queue. Add them in readme and deploy.md

Documentation
New commands have been added as features such as voteskip and cleare queue.

**New command section is:- **

        _p : Plays the song with search keyword following the command 
        _pn : Moves the song to the top of the queue
        _pause : Pause the currently playing song
        _resume : Resume the currently playing song
        _q : Shows the music added in list/queue
        _cq : Clears the entire queue of songs.
        _s : Skips the currently playing music 
        _r : removes song from queue at index given.
        _l : Commands the bot to leave the voice channel
        _voteskip : Initiates voting from the voice members to skip a song.
        _help : shows all the commands of the bot.

Add a restart command

The command is intended to restart the current playing song while maintaining the rest of the queue intact.

I would like to give this issue a try.

Integration Of playnext feature for the bot.

✔️Feature

Problem Statement
I would like to have a play next feature integrated in this bot. The command will ignore the queue and play the given song first.

Note:
The format of the command is _playnext Keyword

README.md only has installation instructions for Windows

Hello, I am a linux VPS user and host my bot there when I'm not using Heroku, so I was wondering if you could include the old github pull method along with the new method for Windows, since a .bat file only works for Windows?

make command to shuffle the queue

Feature

Problem Statement
Currently there is no way to shuffle the queue order in the bot

Description
I would like the contributor to create a function for command to shuffle the queue order. The expected command is _shuffle .

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.