Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -255,7 +255,7 @@ async def top_gradio_threads(ctx, channel_id):
|
|
255 |
if ctx.author.id == 811235357663297546:
|
256 |
message_counts = {}
|
257 |
|
258 |
-
channel = await bot.
|
259 |
print(channel)
|
260 |
threads = channel.threads
|
261 |
print(threads)
|
|
|
255 |
if ctx.author.id == 811235357663297546:
|
256 |
message_counts = {}
|
257 |
|
258 |
+
channel = await bot.fetch_channel(channel_id)
|
259 |
print(channel)
|
260 |
threads = channel.threads
|
261 |
print(threads)
|