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

gets a list of categories

returns a ChannelGroup

JS
client.import("channels");

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

Function Async

Arguments:

  • ?guild Guild
    guild to get the categories from



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