live
Browse files- working threads (still in memory -> if useful can look for something more robust)
- names
app.py
CHANGED
@@ -11,7 +11,10 @@ SLACK_BOT_TOKEN = os.getenv('BOT_USER_OAUTH_TOKEN_HF')
|
|
11 |
|
12 |
# real = os.getenv('SLACK_CHANNEL_ID_HF')
|
13 |
# test = 'C07B4KNU5BQ'
|
14 |
-
SLACK_CHANNEL_ID = '
|
|
|
|
|
|
|
15 |
|
16 |
|
17 |
TRIGGERS = {
|
@@ -47,9 +50,7 @@ bot = commands.Bot(command_prefix='!', intents=intents)
|
|
47 |
slack_client = WebClient(token=SLACK_BOT_TOKEN)
|
48 |
|
49 |
thread_mapping = {}
|
50 |
-
|
51 |
-
# 1019883044724822016 = ask for help
|
52 |
-
FORUM_CHANNEL_ID = 1259415803879751700
|
53 |
|
54 |
|
55 |
@bot.event
|
|
|
11 |
|
12 |
# real = os.getenv('SLACK_CHANNEL_ID_HF')
|
13 |
# test = 'C07B4KNU5BQ'
|
14 |
+
SLACK_CHANNEL_ID = os.getenv('SLACK_CHANNEL_ID_HF')
|
15 |
+
# 1259415803879751700 = test forum
|
16 |
+
# 1019883044724822016 = ask for help
|
17 |
+
FORUM_CHANNEL_ID = 1019883044724822016
|
18 |
|
19 |
|
20 |
TRIGGERS = {
|
|
|
50 |
slack_client = WebClient(token=SLACK_BOT_TOKEN)
|
51 |
|
52 |
thread_mapping = {}
|
53 |
+
|
|
|
|
|
54 |
|
55 |
|
56 |
@bot.event
|