|
@@ -73,10 +73,12 @@ if __name__ == '__main__':
|
|
|
id_alert = status['id']
|
|
id_alert = status['id']
|
|
|
url_alert = f'https://www.torn.com/profiles.php?XID={id_alert}'
|
|
url_alert = f'https://www.torn.com/profiles.php?XID={id_alert}'
|
|
|
add_here = ''
|
|
add_here = ''
|
|
|
|
|
+ """
|
|
|
if minutes_to_go == 1:
|
|
if minutes_to_go == 1:
|
|
|
add_here = '@here '
|
|
add_here = '@here '
|
|
|
if 8 < minutes_to_go < 12:
|
|
if 8 < minutes_to_go < 12:
|
|
|
add_here = '@here '
|
|
add_here = '@here '
|
|
|
|
|
+ """
|
|
|
alert = add_here + \
|
|
alert = add_here + \
|
|
|
f'Alert: {minutes_to_go} mins to attack [{name_alert} [{id_alert}]]({url_alert}). ' + \
|
|
f'Alert: {minutes_to_go} mins to attack [{name_alert} [{id_alert}]]({url_alert}). ' + \
|
|
|
f'Be there at {attack_time_time}!'
|
|
f'Be there at {attack_time_time}!'
|