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

Channel Converters should support channel links #9799

Open
TrustyJAID opened this issue Apr 21, 2024 · 0 comments
Open

Channel Converters should support channel links #9799

TrustyJAID opened this issue Apr 21, 2024 · 0 comments
Labels
feature request This is a feature request.

Comments

@TrustyJAID
Copy link

TrustyJAID commented Apr 21, 2024

Summary

Channel Converters should support channel links

What is the feature request for?

discord.ext.commands

The Problem

Discord is now providing channel jump links in the client and even renders them to look like channel mentions. As a result, some users are attempting to use the jump link to the channel instead of traditional mentions or ID's inside commands. This is failing and causing unexpected results in some cases.

The Ideal Solution

Add support in the GuildChannelConverter to parse and find channels based on a provided jump link to the channel.

The Current Solution

The current solution is including a secondary converter alongside a ChannelConverter just to detect jump links and extract channel ID that way.

Additional Context

No response

@TrustyJAID TrustyJAID added the feature request This is a feature request. label Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request This is a feature request.
Projects
None yet
Development

No branches or pull requests

1 participant