ChannelService.threadCount() - shysolocup/noscord.js GitHub Wiki

gets a number of threads

returns a Number

JS
client.import("channels");

client.on("send", async (ctx) => {
    let stuff = await channels.threadCount(ctx.guild);
});

Function Async

Arguments:

  • ?guild Guild
    guild to get the threads from



⚠️ **GitHub.com Fallback** ⚠️