mirror of https://github.com/miaowware/qrm2.git
parent
4d763c2fc1
commit
951dc38992
2
main.py
2
main.py
|
@ -143,7 +143,7 @@ async def _ensure_activity_time():
|
|||
try:
|
||||
tz = pytz.timezone(opt.status_tz)
|
||||
except pytz.exceptions.UnknownTimeZoneError:
|
||||
await bot.change_presence(activity=discord.Game(name=status))
|
||||
await bot.change_presence(activity=discord.Game(name="with invalid timezones."))
|
||||
return
|
||||
|
||||
now = datetime.now(tz=tz).time()
|
||||
|
|
Loading…
Reference in New Issue