Browse Source

Update command.py

pull/115/head
Noah Hendrickson 7 years ago
committed by GitHub
parent
commit
47d40e2306
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      disco/bot/command.py

2
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,

Loading…
Cancel
Save