From 09c17829a3741173e107c464c0cde1b8403df8f8 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 23 Jan 2019 15:10:31 +0100 Subject: [PATCH] derp --- statsupdate.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/statsupdate.py b/statsupdate.py index 940dd4f8..c880c54d 100644 --- a/statsupdate.py +++ b/statsupdate.py @@ -112,19 +112,19 @@ def osu_pp_change(item, change: typing.Tuple[DirtyDelta, DirtyDelta, DirtyDelta, try: if std.delta >= 1: telegram_bot.send_message(config["Telegram"]["main_group"], - f"✳️ {item.royal.username} ha ora **{std.value}pp** (+{std.value.delta}) su osu!", + f"✳️ {item.royal.username} ha ora **{std.value}pp** (+{std.delta}) su osu!", parse_mode="Markdown") if taiko.delta >= 1: telegram_bot.send_message(config["Telegram"]["main_group"], - f"✳️ {item.royal.username} ha ora **{std.value}pp** (+{std.value.delta}) su osu!taiko!", + f"✳️ {item.royal.username} ha ora **{taiko.value}pp** (+{taiko.delta}) su osu!taiko!", parse_mode="Markdown") if catch.delta >= 1: telegram_bot.send_message(config["Telegram"]["main_group"], - f"✳️ {item.royal.username} ha ora **{std.value}pp** (+{std.value.delta}) su osu!catch!", + f"✳️ {item.royal.username} ha ora **{catch.value}pp** (+{catch.delta}) su osu!catch!", parse_mode="Markdown") if mania.delta >= 1: telegram_bot.send_message(config["Telegram"]["main_group"], - f"✳️ {item.royal.username} ha ora **{std.value}pp** (+{std.value.delta}) su osu!mania!", + f"✳️ {item.royal.username} ha ora **{mania.value}pp** (+{mania.delta}) su osu!mania!", parse_mode="Markdown") except Exception: logger.warning(f"Couldn't notify on Telegram: {item}")