mirror of
https://github.com/miaowware/qrm2.git
synced 2024-11-26 09:48:41 -05:00
Update main.py
Co-Authored-By: 0x5c <0x5c.dev@gmail.com>
This commit is contained in:
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
Block a user