mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 17:00:08 +00:00
Create discovery_category.ts
This commit is contained in:
16
src/types/discovery/discovery_category.ts
Normal file
16
src/types/discovery/discovery_category.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { SnakeCasedPropertiesDeep } from "../util.ts";
|
||||
import { DiscoveryName } from "./discovery_name.ts";
|
||||
|
||||
export interface DiscoveryCategory {
|
||||
/** Numeric id of the category */
|
||||
id: number;
|
||||
/** The name of this category, in mutliple languages */
|
||||
name: DiscoveryName;
|
||||
/** Whether this category can be set as a guild's primary category */
|
||||
isPrimary: boolean;
|
||||
}
|
||||
|
||||
//TODO: add docs link
|
||||
export type DiscordDiscoveryCategory = SnakeCasedPropertiesDeep<
|
||||
DiscoveryCategory
|
||||
>;
|
||||
Reference in New Issue
Block a user