diff --git a/xmpp_tg/xmpp.py b/xmpp_tg/xmpp.py index ae2e9a2..61bed70 100644 --- a/xmpp_tg/xmpp.py +++ b/xmpp_tg/xmpp.py @@ -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:]