Bot should accept commands in PM or throw a better error message
Closed this issue · 0 comments
Ryder17z commented
Describe the bug
For fun I tried just messaging the bot with the message !ch list
It generated a bugreport only.
Expected behavior
Either accept the commands in DM or reject it with a better error message
Automatic bug report
Generated at: 29/03/2022 09:32:12
Bot version: 5.0.0.0
Full command: !ch list
### Error
{
"IsSuccess": false,
"Error": {
"Message": "This command was invoked in a channel of type \u0027DM\u0027, but it can only be used in \u0027GuildText, GuildVoice, GuildCategory, GuildNews, GuildStore, GuildPrivateThread, GuildPublicThread, GuildNewsThread, GuildStageVoice\u0027"
},
"Inner": null
}