summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/src/entities/Categories.ts1
-rw-r--r--util/src/entities/Guild.ts3
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;