lunarflu HF staff commited on
Commit
01381bb
1 Parent(s): 8962091

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -224,9 +224,12 @@ async def count_forum_threads(ctx, time: int):
224
  async for message in thread.history(limit=None, after=start_date, before=end_date):
225
  print(f"THREAD NAME: {thread.name}")
226
  forum_thread_message_count += 1
227
- async for thread in forum.archived_threads(limit=None, after=start_date, before=end_date):
 
228
  print(f"ARCHIVED THREAD NAME: {thread.name}")
229
- forum_thread_message_count += 1
 
 
230
  print(f'Total forum_thread_messages between {start_date} and {end_date}: {forum_thread_message_count}')
231
 
232
 
 
224
  async for message in thread.history(limit=None, after=start_date, before=end_date):
225
  print(f"THREAD NAME: {thread.name}")
226
  forum_thread_message_count += 1
227
+ """
228
+ async for thread in forum.archived_threads(limit=None, before=end_date):
229
  print(f"ARCHIVED THREAD NAME: {thread.name}")
230
+ forum_thread_message_count += 1
231
+ """
232
+
233
  print(f'Total forum_thread_messages between {start_date} and {end_date}: {forum_thread_message_count}')
234
 
235