fix auto update channel
This commit is contained in:
		
							parent
							
								
									41a1d1018e
								
							
						
					
					
						commit
						9031b6ec40
					
				
							
								
								
									
										4
									
								
								myTS3.py
								
								
								
								
							
							
						
						
									
										4
									
								
								myTS3.py
								
								
								
								
							| 
						 | 
					@ -87,10 +87,10 @@ class MyTeamspeakBot:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # Start the timer for auto-updating crypto channels
 | 
					        # Start the timer for auto-updating crypto channels
 | 
				
			||||||
        channelname = f"{'[cspacerBTC]Bitcoin:':<33}" + f"{self.gecko.getSymbol('BTC', decimal=0):>5}€"
 | 
					        channelname = f"{'[cspacerBTC]Bitcoin:':<33}" + f"{self.gecko.getSymbol('BTC', decimal=0):>5}€"
 | 
				
			||||||
        btc_timer = util.maketimer(3600, self.editChannelname(200, channelname))
 | 
					        btc_timer = util.maketimer(60, self.editChannelname(200, channelname))
 | 
				
			||||||
        btc_timer.start()
 | 
					        btc_timer.start()
 | 
				
			||||||
        channelname = f"{'[cspacerETH]Ethereum:':<30}" + f"{self.gecko.getSymbol('ETH', decimal=0):>5}€"
 | 
					        channelname = f"{'[cspacerETH]Ethereum:':<30}" + f"{self.gecko.getSymbol('ETH', decimal=0):>5}€"
 | 
				
			||||||
        eth_timer = util.maketimer(3600, self.editChannelname(201, channelname))
 | 
					        eth_timer = util.maketimer(60, self.editChannelname(201, channelname))
 | 
				
			||||||
        eth_timer.start()
 | 
					        eth_timer.start()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # Notify connected admins
 | 
					        # Notify connected admins
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue