Noah Hendrickson
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
disco/bot/command.py
|
@ -284,7 +284,7 @@ class Command(object): |
|
|
|
|
|
|
|
|
if self.args: |
|
|
if self.args: |
|
|
if len(event.args) < self.args.required_length: |
|
|
if len(event.args) < self.args.required_length: |
|
|
raise CommandError(u'Command {} requires {} arguments (`{}`) passed {}'.format( |
|
|
raise CommandError(u'Command {} requires {} argument(s) (`{}`) passed {}'.format( |
|
|
event.name, |
|
|
event.name, |
|
|
self.args.required_length, |
|
|
self.args.required_length, |
|
|
self.raw_args, |
|
|
self.raw_args, |
|
|