nextcord icon indicating copy to clipboard operation
nextcord copied to clipboard

TextChannelConverter says channel cannot be found when it can but it's not a TextChannel

Open Borketh opened this issue 1 year ago • 3 comments

Summary

see title

Reproduction Steps

Call any command with an argument of type TextChannelConverter on the ID of a ForumChannel or similar.

Minimal Reproducible Code

No response

Expected Results

Some sort of error that is more relevant and informative, such as a TypeError or InvalidArgument that tells me that the channel can be found but is not a TextChannel and is unsuitable for use in this command.

Actual Results

BadArgument is thrown with the description "Channel {id} not found."

Intents

all

System Information

  • Python v3.12.7-final
  • nextcord v2.6.0-final
  • aiohttp v3.10.9
  • system info: Linux 6.11.2-1-cachyos-eevdf-lto #1 SMP PREEMPT_DYNAMIC Sat, 05 Oct 2024 06:39:17 +0000

Checklist

  • [X] I have searched the open issues for duplicates.
  • [X] I have shown the entire traceback, if possible.
  • [X] I have removed my token from display, if visible.

Additional Context

No response

Borketh avatar Oct 09 '24 01:10 Borketh

I agree with this, but this seems more like a feature change and less like a bug report. this was an intentional change in the dpy era, specifically v1.5.

EmmmaTech avatar Nov 23 '24 22:11 EmmmaTech

I agree, although I don't seem to be able to change labels myself. Might be gh mobile moment.

Borketh avatar Nov 26 '24 18:11 Borketh

my bad, I forgot to change labels! you can't change labels unless you're a collaborator on the repo, but when you make an issue, templates allow you to automatically add a label.

EmmmaTech avatar Nov 26 '24 18:11 EmmmaTech