summary refs log tree commit diff
path: root/util/src
diff options
context:
space:
mode:
authorErkin Alp Güney <erkinalp9035@gmail.com>2022-01-12 09:55:14 +0300
committerGitHub <noreply@github.com>2022-01-12 09:55:14 +0300
commit6f9a949a6f6e7b45ed752dd3ce976c40973dec23 (patch)
treeb877ed795b714a7e4412b847d2b84b4679834c77 /util/src
parentUse the boomerang logo (diff)
downloadserver-6f9a949a6f6e7b45ed752dd3ce976c40973dec23.tar.xz
Schema change for group specific emojis
Diffstat (limited to 'util/src')
-rw-r--r--util/src/entities/Emoji.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/util/src/entities/Emoji.ts b/util/src/entities/Emoji.ts
index 03218375..32d39234 100644
--- a/util/src/entities/Emoji.ts
+++ b/util/src/entities/Emoji.ts
@@ -10,7 +10,7 @@ export class Emoji extends BaseClass {
 	animated: boolean;
 
 	@Column()
-	available: boolean; // whether this emoji can be used, may be false due to loss of Server Boosts
+	available: boolean; // whether this emoji can be used, may be false due to various reasons
 
 	@Column()
 	guild_id: string;
@@ -40,4 +40,7 @@ export class Emoji extends BaseClass {
 
 	@Column({ type: "simple-array" })
 	roles: string[]; // roles this emoji is whitelisted to (new discord feature?)
+	
+	@Column({ type: "simple-array" })
+	groups: string[]; // user groups this emoji is whitelisted to (Fosscord extension)
 }