Joe4evr / Discord.Addons

Useful extensions for Discord.Net
MIT License
19 stars 5 forks source link

Bug - Precondictions ratelimit error #9

Open xXBuilderBXx opened 7 years ago

xXBuilderBXx commented 7 years ago

The command error for when a ratelimit is hit is missing my console is showing "This input does not match any overload" But in previouse versions it was "You are currently in Timeout"

Joe4evr commented 7 years ago

🤔 Do preconditions maybe fail overload resolution now? I'll have to ask about this.

Joe4evr commented 7 years ago

So this seems related to RogueException/Discord.Net#514, specifically Volt's statement:

This behavior was by design. If there are multiple commands, whose failed precondition do you return? It was only ever safe to return PreconditionResult if there was only one command.

As such, it's a little out of my control.

xXBuilderBXx commented 7 years ago

I dont have multiple commands though or do you mean using string prefix and mention?