rewrite: Minor bugfixes.

This commit is contained in:
2023-05-23 18:16:12 +03:00
parent f0dd540876
commit 0e1fb84bcb
6 changed files with 13 additions and 10 deletions

View File

@@ -267,14 +267,10 @@ class Timer:
await self._voice_update_task
except asyncio.CancelledError:
return
self._voice_update_task = asyncio.create_task(
self._last_voice_update = utc_now()
await asyncio.create_task(
self.channel.edit(name=self.channel_name)
)
try:
await self._voice_update_task
self._last_voice_update = utc_now()
except asyncio.CancelledError:
return
async def status(self):
"""