summary refs log tree commit diff
path: root/util
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
commit90ba897ca4283d549208df1efa56795f1d133843 (patch)
tree54419cc8a0b2b07fbd7444f85a4ee58e236baad4 /util
parentUse the boomerang logo (diff)
downloadserver-90ba897ca4283d549208df1efa56795f1d133843.tar.xz
Schema change for group specific emojis
Diffstat (limited to 'util')
-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)
 }