Add SNS format

This commit is contained in:
Abel Luck 2022-11-30 15:21:09 +00:00
parent e4308923b4
commit b9e8747808
7 changed files with 1029 additions and 195 deletions

6
ops_bot/common.py Normal file
View file

@ -0,0 +1,6 @@
def urgency_color(urgency: str) -> str:
if urgency == "high":
return "#dc3545" # red
else:
return "#ffc107" # orange
# return "#17a2b8" # blue