mirror of
				https://github.com/Mikaela/Limnoria.git
				synced 2025-11-04 01:27:21 +01:00 
			
		
		
		
	Dict: use * as default dictionary
				
					
				
			The config help is unclear as it talks about `*` meaning all dictionaries while having default value as empty string.
This commit is contained in:
		
							parent
							
								
									b0d0e06ebc
								
							
						
					
					
						commit
						ae5f33393e
					
				@ -45,8 +45,8 @@ conf.registerGlobalValue(Dict, 'server',
 | 
			
		||||
    registry.String('dict.org', _("""Determines what server the bot will
 | 
			
		||||
    retrieve definitions from.""")))
 | 
			
		||||
conf.registerChannelValue(Dict, 'default',
 | 
			
		||||
    registry.String('', _("""Determines the default dictionary the bot will
 | 
			
		||||
    ask for definitions in.  If this value is '*' (without the quotes) the bot
 | 
			
		||||
    will use all dictionaries to define words.""")))
 | 
			
		||||
    registry.String('*', _("""Determines the default dictionary the bot
 | 
			
		||||
    will ask for definitions in.  If this value is '*' (without the quotes)
 | 
			
		||||
    the bot will use all dictionaries to define words.""")))
 | 
			
		||||
 | 
			
		||||
# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user