discord-api-docs icon indicating copy to clipboard operation
discord-api-docs copied to clipboard

Slash commands, channel option issue with duplicate names on mobile

Open SamSanai opened this issue 11 months ago • 1 comments

Description

Choosing a category channel via slash commands channel option with the same name as a text/voice channel will input the text/voice channel.

This issue only happens when you don't restrict the channel type to GUILD_CATEGORY and only on mobile.

I'm unable to test on IOS.

Steps to Reproduce

Create a category channel (e.g testing) Create a voice or text channel with the same name Use the slash commands with a channel option without a type restriction Select the "testing" category

Expected Behavior

Return the "testing" category

Current Behavior

Returns the "testing" text/voice channel

Screenshots/Videos

https://github.com/user-attachments/assets/b3d04c52-ef52-4ef0-97c5-afdb3fd5717e

Client and System Information

264.20 (3592) - googleRelease

SamSanai avatar Jan 30 '25 20:01 SamSanai

related: #3802

advaith1 avatar Jan 30 '25 20:01 advaith1