lunarflu HF staff commited on
Commit
09d6ac2
1 Parent(s): d589312

- working threads (still in memory -> if useful can look for something more robust)
- names

Files changed (1) hide show
  1. app.py +5 -4
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 = 'C07B4KNU5BQ'
 
 
 
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
- # 1259415803879751700 = test forum
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