diff options
author | Erkin Alp Güney <erkinalp9035@gmail.com> | 2022-01-12 09:55:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-12 09:55:14 +0300 |
commit | 6f9a949a6f6e7b45ed752dd3ce976c40973dec23 (patch) | |
tree | b877ed795b714a7e4412b847d2b84b4679834c77 /util/src/entities/Emoji.ts | |
parent | Use the boomerang logo (diff) | |
download | server-6f9a949a6f6e7b45ed752dd3ce976c40973dec23.tar.xz |
Schema change for group specific emojis
Diffstat (limited to 'util/src/entities/Emoji.ts')
-rw-r--r-- | util/src/entities/Emoji.ts | 5 |
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) } |