Closed Lunarmagpie closed 1 year ago
My personal opinion is to only use class-commands for consistency. But if @trag1c agrees with you, then I'm fine with this change.
Is there any benefit to using classes?
Is there any benefit to using classes?
Readability for command options. So none in this case.
Is there any benefit to using classes?
Readability for command options. So none in this case.
Go for functions then
class commands are slower than function commands as well :trollface:
Is there any benefit to using classes?
Consistency, since all commands currently use classes. This PR makes it so that only commands with options have classes.
Bump
removes an unnecessary parameter and indentation level. I think the code is also clearer when it doesn't have a class that doesn't really do any class things.
And its prettier tbh.