-
Notifications
You must be signed in to change notification settings - Fork 3
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
add -remove command #71
base: master
Are you sure you want to change the base?
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice PR with nice UI :)
Some comments, which are mostly suggestions/rfc.
However, there are no tests. I won't 👍 until tests are in place.
@@ -91,7 +91,7 @@ class MusicBot: | |||
|
|||
COMMAND_PREFIX = "-" | |||
REACTION_EMOJI = "👍" | |||
DOCS_URL = "github.com/michael-je/the-lone-dancer" | |||
DOCS_URL = "www.github.com/michael-je/the-lone-dancer" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this necessary? In order to get a clickable link this needs to start with https://
and can't be in a formatted code block. Making the doc url a hyperlink also causes url preview below the message, which I'm not a fan of.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not necessary, I just don't think that the original properly signals that it's a link. But github actually doesn't use the www.
prefix, so https://
is probably more appropriate.
Links inside code blocks don't become hyperlinked.
I'll also add some tests! It's about time I get my hands dirty with mocking 😨 |
Adds the
-remove
command, which allows for removing specific songs from the queue.Also:
www.
to the docs url-help
command slightly by adding an extra whitespace between the command names and their descriptions. I Did this because one of the command names was touching its description, which was quite ugly.Closes #68