Return none for dev portal + todo for categories

This commit is contained in:
Featyre
2022-02-02 02:09:57 +08:00
parent 299b9b8d57
commit 7b3531cb90
3 changed files with 11 additions and 1 deletions
+1
View File
@@ -13,6 +13,7 @@ import { BaseClassWithoutId } from "./BaseClass";
// },
// "is_primary": false/true
// }]
// Also populate discord default categories
@Entity("categories")
export class Categories extends BaseClassWithoutId { // Not using snowflake
+3
View File
@@ -270,6 +270,9 @@ export class Guild extends BaseClass {
@Column({ nullable: true })
nsfw?: boolean;
// only for developer portal
permissions?: number;
static async createGuild(body: {
name?: string;
icon?: string | null;