Category
Class
Methods
getCategories
Promise<Discord.CategoryChannel[]>
getCategoryByName
Promise<Discord.CategoryChannel>
getCategoryById
Promise<Discord.CategoryChannel>
Last updated
Class
Promise<Discord.CategoryChannel[]>
Promise<Discord.CategoryChannel>
Promise<Discord.CategoryChannel>
Last updated
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
guild
Discord.Guild
The Guild where the CategoryChannel should be.
Optional: ✕
name
string
The name of the Category.
Optional: ✕
guild
Discord.Guild
The Guild where the CategoryChannel should be.
Optional: ✕
id
string
The id of the Category.
Optional: ✕
guild
Discord.Guild
The Guild where the CategoryChannel should be.
Optional: ✕