Skip to content

Commit 53bf2f8

Browse files
committed
upd numbers formatting 2
1 parent cb155a1 commit 53bf2f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/alert_bot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def init_alerts():
7777
"zero_block_created": Alert(
7878
"critical",
7979
f"Validator has not created any blocks in the {int(VALIDATION_PERIOD // 6 // 3600)} hours",
80-
"Validator has not created any blocks in the last {hours} hours.",
80+
"Validator has not created any blocks in the last <b>{hours} hours</b>.",
8181
VALIDATION_PERIOD // 6
8282
),
8383
"validator_slashed": Alert(
@@ -95,13 +95,13 @@ def init_alerts():
9595
"stake_accepted": Alert(
9696
"info",
9797
"Validator's stake has been accepted (info alert with no sound)",
98-
"Validator's stake {stake} TON has been accepted",
98+
"Validator's stake <b>{stake} TON</b> has been accepted",
9999
ELECTIONS_START_BEFORE
100100
),
101101
"stake_returned": Alert(
102102
"info",
103103
"Validator's stake has been returned (info alert with no sound)",
104-
"Validator's stake {stake} TON has been returned on address <code>{address}</code>. The reward amount is {reward} TON.",
104+
"Validator's stake <b>{stake} TON</b> has been returned on address <code>{address}</code>. The reward amount is <b>{reward} TON</b>.",
105105
60
106106
),
107107
"stake_not_returned": Alert(

0 commit comments

Comments
 (0)