mirror of
https://github.com/GaMeNu/HFCNotificator.git
synced 2024-11-16 15:24:51 +02:00
v2.1.2
Changed time formatting for embed Better fix for update loop crashing?
This commit is contained in:
parent
2ff5f5a777
commit
2c066730d9
@ -212,7 +212,7 @@ class Notificator(commands.Cog):
|
|||||||
# it's not within 5 minutes, keep looking.
|
# it's not within 5 minutes, keep looking.
|
||||||
# DF Code ruined me, and now I overuse break and continue.
|
# DF Code ruined me, and now I overuse break and continue.
|
||||||
|
|
||||||
alert_time_str = alert_time.strftime("%H:%M:%S %d/%m/%Y")
|
alert_time_str = alert_time.strftime("%H:%M:%S\n%d/%m/%Y")
|
||||||
if district_data is not None:
|
if district_data is not None:
|
||||||
embed_ls.append(Notificator.generate_alert_embed(new_alert, district, district_data.migun_time,
|
embed_ls.append(Notificator.generate_alert_embed(new_alert, district, district_data.migun_time,
|
||||||
alert_time_str, 'he'))
|
alert_time_str, 'he'))
|
||||||
|
Loading…
Reference in New Issue
Block a user