mention_handling defaults to 1
This commit is contained in:
		
							parent
							
								
									02343668b8
								
							
						
					
					
						commit
						3f998c018e
					
				
							
								
								
									
										3
									
								
								main.py
								
								
								
								
							
							
						
						
									
										3
									
								
								main.py
								
								
								
								
							| 
						 | 
					@ -17,7 +17,8 @@ cfg = {
 | 
				
			||||||
	"site": "https://botsin.space",
 | 
						"site": "https://botsin.space",
 | 
				
			||||||
	"cw": None,
 | 
						"cw": None,
 | 
				
			||||||
	"instance_blacklist": ["bofa.lol", "witches.town"],
 | 
						"instance_blacklist": ["bofa.lol", "witches.town"],
 | 
				
			||||||
	"learn_from_cw": False
 | 
						"learn_from_cw": False,
 | 
				
			||||||
 | 
						"mention_handling": 1,
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
try:
 | 
					try:
 | 
				
			||||||
	cfg.update(json.load(open('config.json', 'r')))
 | 
						cfg.update(json.load(open('config.json', 'r')))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in New Issue