Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //I save the id as button value and it return correct
- const base = await interaction.guild.channels.cache.get('1064579423141113898')
- const thread = await base.threads.cache.find(x => x.id === id);
- console.log(thread)
- thread.setArchived(false)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement