From 9031b6ec409c37334a5b5d4287e4832239e517df Mon Sep 17 00:00:00 2001 From: Lukas Date: Thu, 23 Sep 2021 20:10:10 +0200 Subject: [PATCH] fix auto update channel --- myTS3.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/myTS3.py b/myTS3.py index 03e7384..0cc1519 100644 --- a/myTS3.py +++ b/myTS3.py @@ -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