-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 links to the output of [p]repo list #6284
Conversation
detailed changes: - added list_urls argument - this argument determines if urls will be output by the command - added codeblock argument - this argument determines if the output of the command will be a codeblock or not. useful if you want to right click copy urls from the command's output
…sent in [p]repo list True True
Any reason we would want to keep the code block variant? Having two switches in a command is going to be more confusing than just one. Another thing I wonder about is whether there's a point to a list_urls argument too, I guess it makes the list shorter when not used but do we consider this shorter variant important enough to have it? |
I don't really know, I just didn't want to change how it already looked in a way that wasn't optional. If you'd prefer it I can remove the old codeblock entirely. I could also just make using |
Do I need to do anything else for this pr to be merged @Jackenmen? Never got a response from you on my questions originally |
My question was an open question to any interested party (including other maintainers of this repository). It doesn't seem like anyone cared enough to respond so I would suggest going ahead and making the |
bored and thought it might be fun to add embeds to this command (using edit: probably not now that I think about it, because I don't believe red has a way to pagify embed contents built-in (if it does please let me know as this would be incredibly useful, but I haven't seen it before) |
The original reason for it being in a code block was to match the formatting of The
I don't think that fits with the general style of the rest of the bot, generally Red avoids using embeds for outputs that are supposed to be more utility focused, and instead keeps them limited to mostly user focused informational commands like |
bolded repository names and changed the size of the markdown header, see: > The `# Installed Repos` was intended to be for color formatting the header, and I think it might be a bit to big if we are sticking to a codeblock-less output. `##` seems like a much more reasonable size. Additionally, I'd suggest bolding the repo names to make them stand out a bit more from the `short` description.
Done in most recent commit.
Fair enough, makes sense. |
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.
Tested and works great, thanks for contributing.
Description of the changes
Have the changes in this PR been tested?
Yes