Closed javis86 closed 2 years ago
I only test a thread creation with this code inside Function node and using "discordClient" node.
const channelData = msg.discord.channels.cache.get("954798049358671922");
const thread = await channelData.threads.create({
name: 'food-talk',
autoArchiveDuration: 60,
reason: 'Needed a separate thread for food',
});
Here the info: https://discordjs.guide/popular-topics/threads.html#thread-related-gateway-events
See documentation in wiki: https://github.com/Markoudstaal/node-red-contrib-discord-advanced/wiki/Examples#creating-a-thread
Also @javis86 I know this is totally unrelated to the PR, but do you know how to work with Discord Threads?
Originally posted by @itsvrl in https://github.com/Markoudstaal/node-red-contrib-discord-advanced/issues/20#issuecomment-1088072466
@itsvrl