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

Slash Command Mentions can be used in DMs, resulting in Unknown Channel error.

Open IllagerCaptain opened this issue 1 year ago • 0 comments

Description

Messaging a Slash Command mention to someone like /switches (</switches:802140782424883220>), then clicking it will run the bot in the DM, giving an "Unknown Channel" error.

Steps to Reproduce

✔Message a slash command mention to a friend. ✔Click it. ✔Run it. ❌Error.

Expected Behavior

Not be able to be clicked at all.

Current Behavior

Able to be clicked and ran in DMs.

Screenshots/Videos

unknown

Client and System Information

Client & System: Canary 137117 (8573788) Host 1.0.48 Windows 10 64-Bit (10.0.19044) Library: JDA

IllagerCaptain avatar Jul 16 '22 22:07 IllagerCaptain