This commit is contained in:
eweeman
2026-01-14 16:57:36 -08:00
parent 2544e891f8
commit 4a6e2b898f
14 changed files with 343 additions and 136 deletions

View File

@@ -10,6 +10,7 @@ from typing import Dict, Any
from dotenv import load_dotenv
from flask import Flask, jsonify
from slackeventsapi import SlackEventAdapter
from slack_sdk import WebClient
import slack
import json
from hot_reload import ReloadableRegistry, start_hot_reload
@@ -128,7 +129,7 @@ if not SIGNING_SECRET or not SLACK_TOKEN:
sys.exit("Missing Slack credentials")
slack_event_adapter = SlackEventAdapter(SIGNING_SECRET, "/slack/events", app)
slack_client = slack.WebClient(token=SLACK_TOKEN)
slack_client = WebClient(token=SLACK_TOKEN)
# --------------------------------------------------
# Deduplication