mirror of
				https://github.com/pragma-/pbot.git
				synced 2025-11-04 08:37:24 +01:00 
			
		
		
		
	Commands: rename execute-process to background-process
This commit is contained in:
		
							parent
							
								
									b14ef936b0
								
							
						
					
					
						commit
						7e49d65e4f
					
				@ -121,7 +121,7 @@ sub interpreter {
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      $stuff->{no_nickoverride} = 1;
 | 
			
		||||
      if ($self->get_meta($keyword, 'execute-process')) {
 | 
			
		||||
      if ($self->get_meta($keyword, 'background-process')) {
 | 
			
		||||
        my $timeout = $self->{pbot}->{registry}->get_value('processmanager', 'default_timeout');
 | 
			
		||||
        $self->{pbot}->{process_manager}->execute_process(
 | 
			
		||||
          $stuff,
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										8
									
								
								data/commands
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								data/commands
									
									
									
									
										vendored
									
									
								
							@ -175,7 +175,7 @@
 | 
			
		||||
   },
 | 
			
		||||
   "export" : {
 | 
			
		||||
      "_name" : "export",
 | 
			
		||||
      "execute-process" : "1",
 | 
			
		||||
      "background-process" : "1",
 | 
			
		||||
      "help" : "Exports specified list to HTML file. See https://github.com/pragma-/pbot/blob/master/doc/Admin.md#export",
 | 
			
		||||
      "requires_cap" : 1
 | 
			
		||||
   },
 | 
			
		||||
@ -401,7 +401,7 @@
 | 
			
		||||
   },
 | 
			
		||||
   "recall" : {
 | 
			
		||||
      "_name" : "recall",
 | 
			
		||||
      "execute-process" : "1",
 | 
			
		||||
      "background-process" : "1",
 | 
			
		||||
      "help" : "Recalls previous chat history for a channel. See https://github.com/pragma-/pbot/blob/master/doc/Commands.md#recall",
 | 
			
		||||
      "requires_cap" : 0
 | 
			
		||||
   },
 | 
			
		||||
@ -564,13 +564,13 @@
 | 
			
		||||
   },
 | 
			
		||||
   "weather" : {
 | 
			
		||||
      "_name" : "weather",
 | 
			
		||||
      "execute-process" : "1",
 | 
			
		||||
      "background-process" : "1",
 | 
			
		||||
      "help" : "Fetches and displays weather data. You may set `!my location ...` to remember your location.",
 | 
			
		||||
      "requires_cap" : 0
 | 
			
		||||
   },
 | 
			
		||||
   "wttr" : {
 | 
			
		||||
      "_name" : "wttr",
 | 
			
		||||
      "execute-process" : "1",
 | 
			
		||||
      "background-process" : "1",
 | 
			
		||||
      "help" : "",
 | 
			
		||||
      "requires_cap" : "0"
 | 
			
		||||
   }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user