Discord.Addons icon indicating copy to clipboard operation
Discord.Addons copied to clipboard

Bug - Precondictions ratelimit error

Open xXBuilderBXx opened this issue 8 years ago • 3 comments

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"

xXBuilderBXx avatar Mar 03 '17 13:03 xXBuilderBXx

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

Joe4evr avatar Mar 03 '17 16:03 Joe4evr

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.

Joe4evr avatar Mar 03 '17 17:03 Joe4evr

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

xXBuilderBXx avatar Mar 03 '17 17:03 xXBuilderBXx