3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-23 19:22:40 +01:00

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; $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'); my $timeout = $self->{pbot}->{registry}->get_value('processmanager', 'default_timeout');
$self->{pbot}->{process_manager}->execute_process( $self->{pbot}->{process_manager}->execute_process(
$stuff, $stuff,

8
data/commands vendored
View File

@ -175,7 +175,7 @@
}, },
"export" : { "export" : {
"_name" : "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", "help" : "Exports specified list to HTML file. See https://github.com/pragma-/pbot/blob/master/doc/Admin.md#export",
"requires_cap" : 1 "requires_cap" : 1
}, },
@ -401,7 +401,7 @@
}, },
"recall" : { "recall" : {
"_name" : "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", "help" : "Recalls previous chat history for a channel. See https://github.com/pragma-/pbot/blob/master/doc/Commands.md#recall",
"requires_cap" : 0 "requires_cap" : 0
}, },
@ -564,13 +564,13 @@
}, },
"weather" : { "weather" : {
"_name" : "weather", "_name" : "weather",
"execute-process" : "1", "background-process" : "1",
"help" : "Fetches and displays weather data. You may set `!my location ...` to remember your location.", "help" : "Fetches and displays weather data. You may set `!my location ...` to remember your location.",
"requires_cap" : 0 "requires_cap" : 0
}, },
"wttr" : { "wttr" : {
"_name" : "wttr", "_name" : "wttr",
"execute-process" : "1", "background-process" : "1",
"help" : "", "help" : "",
"requires_cap" : "0" "requires_cap" : "0"
} }