discord-api-docs
discord-api-docs copied to clipboard
Slash Command Mentions can be used in DMs, resulting in Unknown Channel error.
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
Client and System Information
Client & System: Canary 137117 (8573788) Host 1.0.48 Windows 10 64-Bit (10.0.19044) Library: JDA