Commands: rename execute-process to background-process

This commit is contained in:
Pragmatic Software 2020-02-14 23:17:19 -08:00
parent b14ef936b0
commit 7e49d65e4f
2 changed files with 5 additions and 5 deletions

View File

@ -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
View File

@ -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"
}