This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import requests | |
from flask import Flask, request, jsonify | |
app: Flask = Flask(__name__) | |
SLACK_SIGNING_SECRET: str = "your_slack_signing_secret_here" | |
def send_slack_message(channel: str, text: str, thread_ts: str = None) -> dict: | |
url: str = "https://slack.com/api/chat.postMessage" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def create_nourishing_presence(): | |
# Define the important components | |
important = { | |
"desire": "Be present together with no rush, enjoying the moment.", | |
"emotion": { | |
"primary": "Relaxed, serene pleasure", | |
"sustaining": ["Connected", "Grateful"], | |
}, | |
"strategies": { | |
"primary": [ |