default description for commands
This commit is contained in:
		@@ -65,7 +65,7 @@ class CommandManager implements CallbackListener, UsageInformationAble {
 | 
				
			|||||||
	 * @param string          $description
 | 
						 * @param string          $description
 | 
				
			||||||
	 * @return bool
 | 
						 * @return bool
 | 
				
			||||||
	 */
 | 
						 */
 | 
				
			||||||
	public function registerCommandListener($commandName, CommandListener $listener, $method, $adminCommand = false, $description = null) {
 | 
						public function registerCommandListener($commandName, CommandListener $listener, $method, $adminCommand = false, $description = "No Description.") {
 | 
				
			||||||
		if (is_array($commandName)) {
 | 
							if (is_array($commandName)) {
 | 
				
			||||||
			$success = false;
 | 
								$success = false;
 | 
				
			||||||
			foreach ($commandName as $command) {
 | 
								foreach ($commandName as $command) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user