Skip to content
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

Merged
merged 6 commits into from
Sep 1, 2024

Conversation

Kreusada
Copy link
Member

Description of the changes

Adds new header and hyperlink 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

@github-actions github-actions bot added the Category: Core - API - Utils Package This is related to stuff in `redbot.core.utils` label Apr 27, 2023
@Kreusada Kreusada marked this pull request as draft April 27, 2023 17:45
@Kreusada Kreusada marked this pull request as ready for review April 27, 2023 20:46
@Kowlin
Copy link
Member

Kowlin commented Apr 30, 2023

The chance is big that Discord.py will add these to their library, however I'm not opposed to merging this.

@Jackenmen
Copy link
Member

Jackenmen commented May 13, 2023

The chance is big that Discord.py will add these to their library

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.

@Jackenmen Jackenmen added Type: Feature New feature or request. Status: Needs Discussion Needs more discussion. labels Jun 20, 2023
@Kowlin
Copy link
Member

Kowlin commented Jul 19, 2024

Probably should be updated to also include Subtext 😅

@Kowlin Kowlin added Status: Accepted We want this and removed Status: Needs Discussion Needs more discussion. labels Jul 19, 2024
@Kreusada Kreusada changed the title Add header and hyperlink utilities Add header, hyperlink and subtext utilities Sep 1, 2024
@Kreusada
Copy link
Member Author

Kreusada commented Sep 1, 2024

Probably should be updated to also include Subtext 😅

Good idea. I've just updated the PR to include this 👍

@Kowlin Kowlin enabled auto-merge (squash) September 1, 2024 21:39
@Kowlin Kowlin merged commit 05cf9b7 into Cog-Creators:V3/develop Sep 1, 2024
15 of 16 checks passed
@red-githubbot red-githubbot bot added the Changelog Entry: Pending Changelog entry for this PR hasn't been added by repo maintainers yet. label Sep 1, 2024
@Kreusada Kreusada deleted the hyperlink-and-header branch September 1, 2024 21:40
BenCos17 added a commit to JARVIS-discordbot/Red-DiscordBot-jarvis that referenced this pull request Sep 1, 2024
BenCos17 added a commit to JARVIS-discordbot/Red-DiscordBot-jarvis that referenced this pull request Sep 1, 2024
* [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]>
Dav-Git pushed a commit to Dav-Git/Red-DiscordBot that referenced this pull request Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Core - API - Utils Package This is related to stuff in `redbot.core.utils` Changelog Entry: Pending Changelog entry for this PR hasn't been added by repo maintainers yet. Status: Accepted We want this Type: Feature New feature or request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants