| Conditions | 1 |
| Paths | 1 |
| Total Lines | 5 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | function __construct(\CharlotteDunois\Livia\Commands\Context $context) { |
||
| 21 | $prefix = $context->client->getGuildPrefix($context->message->guild); |
||
| 22 | |||
| 23 | parent::__construct('Invalid command usage. The `'.$context->command->name.'` command\'s accepted format is: '. |
||
| 24 | $context->command->usage($context->command->format, $prefix).'. Use '.\CharlotteDunois\Livia\Commands\Command::anyUsage('help '.$context->command->name, $prefix).' for more information.'); |
||
| 25 | } |
||
| 27 |