mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-23 04:19:27 +01:00
Plugin/Wttr: recent changes needs default/all moved up in options
This commit is contained in:
parent
7c4c5847ab
commit
bbe5b58b97
@ -31,6 +31,8 @@ sub cmd_wttr {
|
|||||||
my $arguments = $context->{arguments};
|
my $arguments = $context->{arguments};
|
||||||
|
|
||||||
my @wttr_options = (
|
my @wttr_options = (
|
||||||
|
"default",
|
||||||
|
"all",
|
||||||
"conditions",
|
"conditions",
|
||||||
"forecast",
|
"forecast",
|
||||||
"feelslike",
|
"feelslike",
|
||||||
@ -49,8 +51,6 @@ sub cmd_wttr {
|
|||||||
"qlocation",
|
"qlocation",
|
||||||
"time",
|
"time",
|
||||||
"population",
|
"population",
|
||||||
"default",
|
|
||||||
"all",
|
|
||||||
);
|
);
|
||||||
|
|
||||||
my $usage = "Usage: wttr (<location> | -u <user account>) [" . join(' ', map { "-$_" } @wttr_options) . "]; to have me remember your location, use `my location <location>`.";
|
my $usage = "Usage: wttr (<location> | -u <user account>) [" . join(' ', map { "-$_" } @wttr_options) . "]; to have me remember your location, use `my location <location>`.";
|
||||||
|
@ -25,7 +25,7 @@ use PBot::Imports;
|
|||||||
# These are set by the /misc/update_version script
|
# These are set by the /misc/update_version script
|
||||||
use constant {
|
use constant {
|
||||||
BUILD_NAME => "PBot",
|
BUILD_NAME => "PBot",
|
||||||
BUILD_REVISION => 4326,
|
BUILD_REVISION => 4327,
|
||||||
BUILD_DATE => "2021-07-28",
|
BUILD_DATE => "2021-07-28",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user