Skip to content

ChannelService.categories()

github-actions[bot] edited this page Sep 30, 2024 · 6 revisions

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



🛈 Client

🛈 AddonService

🛈 AttachmentService

🛈 ChannelService

🛈 CommandService

🛈 ComponentService

🛈 ErrorService

🛈 EventService

🛈 ExpressionService

🛈 GuildService

🛈 LogService

🛈 MessageService

🛈 PermissionService

🛈 RoleService

🛈 StorageService

🛈 TypeService

🛈 UserService

🛈 UtilService

🛈 VoiceService


Clone this wiki locally