mirror of
				https://github.com/pragma-/pbot.git
				synced 2025-11-04 16:47:23 +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 @wttr_options = (
 | 
			
		||||
        "default",
 | 
			
		||||
        "all",
 | 
			
		||||
        "conditions",
 | 
			
		||||
        "forecast",
 | 
			
		||||
        "feelslike",
 | 
			
		||||
@ -49,8 +51,6 @@ sub cmd_wttr {
 | 
			
		||||
        "qlocation",
 | 
			
		||||
        "time",
 | 
			
		||||
        "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>`.";
 | 
			
		||||
 | 
			
		||||
@ -25,7 +25,7 @@ use PBot::Imports;
 | 
			
		||||
# These are set by the /misc/update_version script
 | 
			
		||||
use constant {
 | 
			
		||||
    BUILD_NAME     => "PBot",
 | 
			
		||||
    BUILD_REVISION => 4326,
 | 
			
		||||
    BUILD_REVISION => 4327,
 | 
			
		||||
    BUILD_DATE     => "2021-07-28",
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user