<commit_before><?php
// Namespace
namespace Module;

/**
 * Sends the joke to the user
 *
 * @package WhatsApp
 * @subpackage Module
 * @author <NAME> <<EMAIL>>
 */
class Restart extends \Library\WhatsApp\Module\Base {

	/**
	 * The command's help text.
	 *
	 * @var string
	 */
	protected $help = '!Restart <password>';

	/**
	 * The number of arguments the command needs.
	 *
	 * @var integer
	 */
	protected $numberOfArguments = 1;
    /**
     * Sends the arguments to the client. A random joke.
     * Example Module
     * $this->source = phone
     * $this->message = complete message recieved whitout command
     * $this->type = type of msg(voice,msg,attach,etc..)
     * $this->name = name of the sender
     * $this->say($msg) for response(autologged on console)
     * $this->log($msg,$kind) for log [$kind]$msg on console
     * $this->arguments = list of arguments after command(spaces)
     */
    public function command() {
    	if($this->arguments[0]==MPASS){
    	$config = include(ROOT_DIR . '/config.php');
 		$this->bot->log("Restarting bot from {$this->name}<{$this->source}>");
   		$this->say("Reiniciando...");
   		$this->bot->disconnectFromWhatsApp();
   		foreach($this->bot->modules as $module){
			$this->bot->deleteModule($module);
		}
		foreach ($config['modules'] as $moduleName => $args) {
			$moduleName =explode('\',$moduleName);
			include(__DIR__.$moduleName[1].".php");
			$reflector = new \ReflectionClass($moduleName);
			$module = $reflector->newInstanceArgs($args);
			$this->bot->addModule($module);
		}	
   		$this->bot->connectToWhatsApp();
    	}
    	else
    	{
    		$this->bot->log("Unauthorized access from {$this->name}<{$this->source}>");
    		$this->say("No puedes hacer esto pequeno zorron.");
    	}
   		
	}
}<commit_msg>Otro  cambio en restart.php<commit_after><?php
// Namespace
namespace Module;

/**
 * Sends the joke to the user
 *
 * @package WhatsApp
 * @subpackage Module
 * @author <NAME> <<EMAIL>>
 */
class Restart extends \Library\WhatsApp\Module\Base {

	/**
	 * The command's help text.
	 *
	 * @var string
	 */
	protected $help = '!Restart <password>';

	/**
	 * The number of arguments the command needs.
	 *
	 * @var integer
	 */
	protected $numberOfArguments = 1;
    /**
     * Sends the arguments to the client. A random joke.
     * Example Module
     * $this->source = phone
     * $this->message = complete message recieved whitout command
     * $this->type = type of msg(voice,msg,attach,etc..)
     * $this->name = name of the sender
     * $this->say($msg) for response(autologged on console)
     * $this->log($msg,$kind) for log [$kind]$msg on console
     * $this->arguments = list of arguments after command(spaces)
     */
    public function command() {
    	if($this->arguments[0]==MPASS){
    	$config = include(ROOT_DIR . '/config.php');
 		$this->bot->log("Restarting bot from {$this->name}<{$this->source}>");
   		$this->say("Reiniciando...");
   		$this->bot->disconnectFromWhatsApp();
   		foreach($this->bot->modules as $module){
			$this->bot->deleteModule($module);
		}
		foreach ($config['modules'] as $moduleName => $args) {
			$moduleName = substr($moduleName,6);
			include(__DIR__.$moduleName[1].".php");
			$reflector = new \ReflectionClass($moduleName);
			$module = $reflector->newInstanceArgs($args);
			$this->bot->addModule($module);
		}	
   		$this->bot->connectToWhatsApp();
    	}
    	else
    	{
    		$this->bot->log("Unauthorized access from {$this->name}<{$this->source}>");
    		$this->say("No puedes hacer esto pequeno zorron.");
    	}
   		
	}
}
{'fraction_non_alphanumeric': 0.1757134862898713, 'fraction_numerical': 0.00195858981533296, 'mean_word_length': 3.1666666666666665, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 75, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1651287', 'n_tokens_mistral': 1241, 'n_tokens_neox': 1168, 'n_words': 265}