mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
?
This commit is contained in:
parent
09c17829a3
commit
b7b2dd34cc
1 changed files with 3 additions and 0 deletions
|
@ -76,6 +76,7 @@ def new_dota_rank(item: db.Dota, change):
|
|||
f" {item.get_rank_name()} {item.get_rank_number()} su Dota 2!")
|
||||
except Exception:
|
||||
logger.warning(f"Couldn't notify on Telegram: {item}")
|
||||
sentry.captureException()
|
||||
|
||||
|
||||
def new_lol_rank(item, change: typing.Tuple[Dirty, Dirty, Dirty]):
|
||||
|
@ -105,6 +106,7 @@ def new_lol_rank(item, change: typing.Tuple[Dirty, Dirty, Dirty]):
|
|||
parse_mode="Markdown")
|
||||
except Exception:
|
||||
logger.warning(f"Couldn't notify on Telegram: {item}")
|
||||
sentry.captureException()
|
||||
|
||||
|
||||
def osu_pp_change(item, change: typing.Tuple[DirtyDelta, DirtyDelta, DirtyDelta, DirtyDelta]):
|
||||
|
@ -128,6 +130,7 @@ def osu_pp_change(item, change: typing.Tuple[DirtyDelta, DirtyDelta, DirtyDelta,
|
|||
parse_mode="Markdown")
|
||||
except Exception:
|
||||
logger.warning(f"Couldn't notify on Telegram: {item}")
|
||||
sentry.captureException()
|
||||
|
||||
|
||||
def process():
|
||||
|
|
Loading…
Reference in a new issue