mirror of
https://github.com/GaMeNu/HFCNotificator.git
synced 2024-11-16 07:14:52 +02:00
v2.2.6: fix: Extra security layer for duped loops
Loops should now automatically terminate themselves if they detect that the time between the loops running is too quick.
This commit is contained in:
parent
b8d035627b
commit
a0b3832c25
@ -84,7 +84,7 @@ class AlertEmbed:
|
|||||||
self.embed.title = f'התראה ב{self.district}'
|
self.embed.title = f'התראה ב{self.district}'
|
||||||
self.embed.add_field(name=self.alert.title, value='')
|
self.embed.add_field(name=self.alert.title, value='')
|
||||||
|
|
||||||
self.embed.add_field(name='נכון ל', value=datetime.datetime.now().strftime("%H:%M:%S\n%d/%m/%Y"), inline=False)
|
self.embed.add_field(name='זמן התראה', value=datetime.datetime.now().strftime("%H:%M:%S\n%d/%m/%Y"), inline=False)
|
||||||
self.embed.add_field(name='מידע נוסף', value=self.alert.description)
|
self.embed.add_field(name='מידע נוסף', value=self.alert.description)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user