Methods (commands) cannot have a variable amount of parameters
Closed this issue · 0 comments
RensOliemans commented
In a Python method, it is possible to have a method with a variable amount of parameters (def fun(*args)
), but this is not supported in the current module. In TelegramModuleMeta
, the amount is determined by len(inspect.getfullargspec(method).args[1:])
, however this does not work when the method has a variable amount of args.