'Starting thread in Discord using Pycord
I am trying to start a thread using the Pycord library. Aside from the official documentation, I couldn't find any real life examples of how this goes.
So far I am running into a Error 400 Bad Request (error code: 20035): Guild Premium subscription level too low.
I have tried the solutions mentioned here, but so far no luck.
Here is my current code, any idea of how could I approach it?
class MyClient(discord.Client):
def __init__(self, *args, **kwargs):
self.comments = kwargs.pop("comments")
super().__init__(*args, **kwargs)
async def on_ready(self):
channel = self.get_channel(xxx) # Your channel ID goes here
for comment in comments:
# await channel.send(comment['data']['author'])
# await channel.create_thread(comment['data']['link_title'])
await channel.create_thread(name="wop")
Also, my bot seems to have the correct permissions, as seen here:
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

