Closed TheKidThatCodes closed 1 year ago
flagconverter boolean flags should be true if the flag is present and false if it is not
discord.ext.commands
flagconverter bool flags require .foo --bar true/.foo --bar false instead of .foo --bar/.foo
.foo --bar true
.foo --bar false
.foo --bar
.foo
possibly another flagconverter class that implements this as to not break existing code
dont have one, considering making custom flagconverter class
maybe this should be in the discordpy gh instead of this fork
Thanks for the feature request, but I'm trying to keep the commands handler as close to upstream as possible. If this is ever implemented upstream, it will eventually make its way here.
Summary
flagconverter boolean flags should be true if the flag is present and false if it is not
What is the feature request for?
discord.ext.commands
The Problem
flagconverter bool flags require
.foo --bar true
/.foo --bar false
instead of.foo --bar
/.foo
The Ideal Solution
possibly another flagconverter class that implements this as to not break existing code
The Current Solution
dont have one, considering making custom flagconverter class
Additional Context
maybe this should be in the discordpy gh instead of this fork