1
0
Fork 0

Separate block and balance notifications

Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
Julien Riou 2021-01-23 10:53:33 +01:00
parent 75f75eea00
commit a99d9795b3
No known key found for this signature in database
GPG key ID: FF42D23B580C89F7
7 changed files with 185 additions and 85 deletions

5
templates/balance.md.j2 Normal file
View file

@ -0,0 +1,5 @@
*💰 New balance*
*Address*: {{address}}
*Unpaid balance*: {{balance}} {% if balance_fiat %}\({{balance_fiat}}\){% endif %}
*Unpaid percentage*: {{balance_percentage}}

6
templates/block.md.j2 Normal file
View file

@ -0,0 +1,6 @@
*⛏️ New block {{number}}*
*Date/Time*: {{time}}
*Reward*: {{reward}} {% if reward_fiat %}\({{reward_fiat}}\){% endif %}
*Round time*: {{round_time}}
*Luck*: {{luck}}