import { CategoriesManager } from "https://deno.land/x/harmony@v2.6.0/src/commands/command.ts";
Constructors
new
CategoriesManager(client: CommandClient)Properties
client: CommandClient
list: Collection<string, CommandCategory>
Methods
add(category: CommandCategory): CategoriesManager
Add a Category to the Manager
all(): Collection<string, CommandCategory>
Get a Collection of Categories
get(name: string): CommandCategory | undefined
Get a Category by name
has(category: string | CommandCategory): boolean
Check if a Category exists or not
names(): string[]
Get a list of names of Categories added
remove(category: string | CommandCategory): boolean
Remove a Category from the Manager