| Conditions | 1 |
| Total Lines | 18 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | function __construct(\CharlotteDunois\Livia\Client $client) { |
||
| 13 | parent::__construct($client, array( |
||
| 14 | 'name' => 'unload', |
||
| 15 | 'aliases' => array('unload-command'), |
||
| 16 | 'group' => 'commands', |
||
| 17 | 'description' => 'Unloads a command.', |
||
| 18 | 'details' => 'The argument must be the name/ID (partial or whole) of a command. Only the bot owner may use this command.', |
||
| 19 | 'examples' => array('enable utils'), |
||
| 20 | 'guildOnly' => false, |
||
| 21 | 'ownerOnly' => true, |
||
| 22 | 'args' => array( |
||
| 23 | array( |
||
| 24 | 'key' => 'command', |
||
| 25 | 'prompt' => 'Which command would you like to unload?', |
||
| 26 | 'type' => 'command' |
||
| 27 | ) |
||
| 28 | ), |
||
| 29 | 'guarded' => true |
||
| 30 | )); |
||
| 39 |