Hi,
I'm trying to create a thread with discord extension but I got this error
Discord Errors: {
"name": {
"_errors": [
{
"code": "BASE_TYPE_REQUIRED",
"message": "This field is required"
}
]
}
}
Request Body:
{
"id": "TEST SERVER 1/9",
"auto_archive_duration": 10080,
"type": 11,
"invitable": true
}My code
ThreadCreate threadCreate = new ThreadCreate
{
AutoArchiveDuration = 10080,
Type = ChannelType.GuildPublicThread,
Name = covalence.Server.Name,
Invitable = true
};
GetChannel(_client, (Snowflake)chanid, chan =>
{
chan.CreateMessage(_client, create);
chan.StartThreadWithoutMessage(_client, threadCreate, thread =>
{
thread.CreateMessage(_client, embeds);
});
}); 