-
-
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 header
, hyperlink
and subtext
utilities
#6102
Conversation
The chance is big that Discord.py will add these to their library, however I'm not opposed to merging this. |
That's unlikely, discord.py doesn't have utilities for constructing Markdown since most of the time it's trivial to just do it yourself, often shorter. Our whole chat_formatting module is proof of d.py not having such utilities. |
Probably should be updated to also include Subtext 😅 |
header
and hyperlink
utilitiesheader
, hyperlink
and subtext
utilities
Good idea. I've just updated the PR to include this 👍 |
…#19) Co-authored-by: Kreusada <[email protected]> Co-authored-by: Kowlin <[email protected]>
* [Trivia] Correct Stephen to Steven (Cog-Creators#6434) Co-authored-by: Artemis6969 <[email protected]> * Generate default LL server config and attach it to GH release (Cog-Creators#6430) * [Audio] Update Lavalink.jar and yt source build numbers (Cog-Creators#6435) Co-authored-by: Jakub Kuczys <[email protected]> * [Audio] Fix trying to send notify message with no channel object (Cog-Creators#6429) * Bump dependencies (Cog-Creators#6436) * Red 3.5.13 - Changelog (Cog-Creators#6437) * Automated Crowdin downstream (Cog-Creators#6439) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Version bump to 3.5.13 (Cog-Creators#6438) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Fix publish release workflow * Add missing perm to Publish Release workflow * Change Red 3.5.13 release date * Version bump to 3.5.14.dev1 * [Trivia] Correct typos in World Cup trivia list for Golden Glove questions (Cog-Creators#6441) * Split out non-Python assets in Publish Release workflow (Cog-Creators#6440) * Add `header`, `hyperlink` and `subtext` utilities (Cog-Creators#6102) (#19) Co-authored-by: Kreusada <[email protected]> Co-authored-by: Kowlin <[email protected]> --------- Co-authored-by: Guyonsteroids <[email protected]> Co-authored-by: Artemis6969 <[email protected]> Co-authored-by: Jakub Kuczys <[email protected]> Co-authored-by: aikaterna <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Mellow <[email protected]> Co-authored-by: Kreusada <[email protected]> Co-authored-by: Kowlin <[email protected]>
Co-authored-by: Kowlin <[email protected]>
Description of the changes
Adds new
header
andhyperlink
utilities, showcased here.Their implementation could be up for discussion if anyone has alternative ideas. I could also add a bullet point util to this PR, but I held back due to not knowing how to best implement embedded bullets.
Have the changes in this PR been tested?
Yes