Because [p]reacticket (and its subcommand settings) were defined outside of a class, then manually put in one, it was not getting passed an instance of self. This made self become a Context object, and ctx a required param. I moved the command definitions within the class it would eventually be defined in, and made the references to those commands in other files use the new path to those commands instead.
Because
[p]reacticket
(and its subcommandsettings
) were defined outside of a class, then manually put in one, it was not getting passed an instance ofself
. This madeself
become aContext
object, andctx
a required param. I moved the command definitions within the class it would eventually be defined in, and made the references to those commands in other files use the new path to those commands instead.