fix auto update channel
This commit is contained in:
@@ -87,10 +87,10 @@ class MyTeamspeakBot:
|
||||
|
||||
# Start the timer for auto-updating crypto channels
|
||||
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()
|
||||
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()
|
||||
|
||||
# Notify connected admins
|
||||
|
||||
Reference in New Issue
Block a user