fix configuration overwrite bug
This commit is contained in:
		
							parent
							
								
									32acb60e10
								
							
						
					
					
						commit
						4b53cc0dca
					
				
							
								
								
									
										2
									
								
								bot.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								bot.py
									
									
									
									
									
								
							@ -26,7 +26,7 @@ class IRCBot():
 | 
			
		||||
        self.sendline(f"NICK {self.nick}")
 | 
			
		||||
        self.sendline(f"USER {self.nick} 0 * :{self.config['realname']}")
 | 
			
		||||
        for channel in self.config["channels"]:
 | 
			
		||||
            self.join_channel(channel)
 | 
			
		||||
            self.sendline(f"JOIN {channel}")
 | 
			
		||||
        self.commands = [
 | 
			
		||||
            ("invite", self.invite)
 | 
			
		||||
            ("kick", self.kick)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user