Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -254,8 +254,8 @@ async def top_gradio(ctx, channel_id):
|
|
254 |
async def top_gradio_threads(ctx, parent_id):
|
255 |
if ctx.author.id == 811235357663297546:
|
256 |
message_counts = {}
|
257 |
-
|
258 |
-
all_channels = await guild.fetch_channels()
|
259 |
filtered_threads = [channel for channel in all_channels if isinstance(channel, discord.Thread) and channel.parent_id == parent_id]
|
260 |
|
261 |
for thread in filtered_threads:
|
|
|
254 |
async def top_gradio_threads(ctx, parent_id):
|
255 |
if ctx.author.id == 811235357663297546:
|
256 |
message_counts = {}
|
257 |
+
|
258 |
+
all_channels = await ctx.guild.fetch_channels()
|
259 |
filtered_threads = [channel for channel in all_channels if isinstance(channel, discord.Thread) and channel.parent_id == parent_id]
|
260 |
|
261 |
for thread in filtered_threads:
|