switching to alpine and using git.allucanget.biz docker registry
This commit is contained in:
7
main.py
7
main.py
@@ -16,10 +16,13 @@ load_dotenv()
|
||||
|
||||
WEBHOOK_URL = os.getenv('DISCORD_WEBHOOK_URL')
|
||||
|
||||
MSG_FOOTER = "THC - Toke Hash Coordinated"
|
||||
|
||||
MSG_TEST = "Discord 420 timer activated. This is a test notification."
|
||||
MSG_REMINDER = "5 minute reminder!"
|
||||
MSG_HALFTIME = "Half-time!"
|
||||
MSG_NOTIFICATION = "420! Blaze it!"
|
||||
|
||||
COL_BLUE = 0x3498db
|
||||
COL_ORANGE = 0xe67e22
|
||||
COL_GREEN = 0x2ecc71
|
||||
@@ -54,9 +57,7 @@ def create_embed(message: str) -> dict:
|
||||
"description": msg["text"],
|
||||
"color": msg["color"],
|
||||
"timestamp": time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime()),
|
||||
"footer": {
|
||||
"text": "THC - Toke Hash Coordinated"
|
||||
}
|
||||
"footer": {"text": MSG_FOOTER}
|
||||
}
|
||||
return embed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user