continue rewrite
This commit is contained in:
@@ -271,7 +271,7 @@ class XMPPTelegram(ComponentXMPP):
|
||||
|
||||
def _min_args(self, num_args):
|
||||
if len(self.arguments) < num_args:
|
||||
raise WrongNumberOfArgumentsError("!{} needs at least {} arguments".format(self._command, num_args))
|
||||
raise WrongNumberOfArgsError("!{} needs at least {} arguments".format(self._command, num_args))
|
||||
|
||||
def __init__(self, msg):
|
||||
self._command = msg["body"].split(" ")[0][1:]
|
||||
|
||||
Reference in New Issue
Block a user