mirror of
				https://github.com/pragma-/pbot.git
				synced 2025-11-04 00:27:23 +01:00 
			
		
		
		
	Factoids: factadd: include contents for factlog
This commit is contained in:
		
							parent
							
								
									ad449ff07b
								
							
						
					
					
						commit
						55407ce800
					
				@ -814,7 +814,7 @@ sub cmd_factadd {
 | 
			
		||||
 | 
			
		||||
    $self->{pbot}->{logger}->log("$context->{hostmask} added [$from_chan] $keyword_text => $text\n");
 | 
			
		||||
 | 
			
		||||
    $self->log_factoid($from_chan, $keyword, $context->{hostmask}, "created");
 | 
			
		||||
    $self->log_factoid($from_chan, $keyword, $context->{hostmask}, "created: $text");
 | 
			
		||||
 | 
			
		||||
    return "/say $keyword_text added to " . ($from_chan eq '.*' ? 'global channel' : $from_chan) . ".";
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -25,8 +25,8 @@ use PBot::Imports;
 | 
			
		||||
# These are set by the /misc/update_version script
 | 
			
		||||
use constant {
 | 
			
		||||
    BUILD_NAME     => "PBot",
 | 
			
		||||
    BUILD_REVISION => 4597,
 | 
			
		||||
    BUILD_DATE     => "2022-12-25",
 | 
			
		||||
    BUILD_REVISION => 4598,
 | 
			
		||||
    BUILD_DATE     => "2022-12-31",
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
sub initialize {}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user