diff options
author | Featyre <twooter.0g179@simplelogin.co> | 2022-02-02 02:09:57 +0800 |
---|---|---|
committer | Featyre <twooter.0g179@simplelogin.co> | 2022-02-02 02:09:57 +0800 |
commit | 7b3531cb9015ec5bdf95c97b726d5d64f2ca41fa (patch) | |
tree | de032abacef366ba7b9f19b4d9131e2dc22d20c7 /util/src | |
parent | Fix primarycolum being assigned to nullable = true (diff) | |
download | server-7b3531cb9015ec5bdf95c97b726d5d64f2ca41fa.tar.xz |
Return none for dev portal + todo for categories
Diffstat (limited to 'util/src')
-rw-r--r-- | util/src/entities/Categories.ts | 1 | ||||
-rw-r--r-- | util/src/entities/Guild.ts | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/util/src/entities/Categories.ts b/util/src/entities/Categories.ts index a3c1280f..81fbc303 100644 --- a/util/src/entities/Categories.ts +++ b/util/src/entities/Categories.ts @@ -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 diff --git a/util/src/entities/Guild.ts b/util/src/entities/Guild.ts index 18fa7a0a..9ac148ee 100644 --- a/util/src/entities/Guild.ts +++ b/util/src/entities/Guild.ts @@ -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; |