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

gets a number of categories

returns a Number

JS
client.import("channels");

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

Function Async

Arguments:

  • ?guild Guild
    guild to get the categories from



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