Add SNS format
This commit is contained in:
parent
e4308923b4
commit
b9e8747808
7 changed files with 1029 additions and 195 deletions
6
ops_bot/common.py
Normal file
6
ops_bot/common.py
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
def urgency_color(urgency: str) -> str:
|
||||
if urgency == "high":
|
||||
return "#dc3545" # red
|
||||
else:
|
||||
return "#ffc107" # orange
|
||||
# return "#17a2b8" # blue
|
||||
Loading…
Add table
Add a link
Reference in a new issue