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

Allows the usage of "channel urls" for parameters of type "GuildChannel" #3075

Merged
merged 1 commit into from
Dec 8, 2024

Conversation

TheCataliasTNT2k
Copy link

@TheCataliasTNT2k TheCataliasTNT2k commented Dec 8, 2024

Similar to message urls, Discord also provides urls for guild channels.
This PR adds this method to pass a url as argument for the Channel type.
Private channels are not affected by this change.

@github-actions github-actions bot added the utils Related to the `utils` module. label Dec 8, 2024
@TheCataliasTNT2k
Copy link
Author

The linter is not complaining about any of my changes.
Maybe this can be merged nevertheless?

@arqunis arqunis added the enhancement An improvement to Serenity. label Dec 8, 2024
@arqunis arqunis merged commit d7c5ee3 into serenity-rs:next Dec 8, 2024
23 of 24 checks passed
mkrasnitski pushed a commit to mkrasnitski/serenity that referenced this pull request Dec 8, 2024
…rs#3075)

Similar to message URLs, Discord also provides URLs for guild channels.

Additionally, the function is added as an alternative for parsing a `Channel` from a string. 
Private channels are not affected by this change.
arqunis pushed a commit to arqunis/serenity that referenced this pull request Jan 16, 2025
…rs#3075)

Similar to message URLs, Discord also provides URLs for guild channels.

Additionally, the function is added as an alternative for parsing a `Channel` from a string. 
Private channels are not affected by this change.
mkrasnitski pushed a commit to mkrasnitski/serenity that referenced this pull request Feb 1, 2025
…rs#3075)

Similar to message URLs, Discord also provides URLs for guild channels.

Additionally, the function is added as an alternative for parsing a `Channel` from a string. 
Private channels are not affected by this change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An improvement to Serenity. utils Related to the `utils` module.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants