summary refs log tree commit diff
path: root/util/src/entities/Emoji.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-01-24 10:22:46 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-01-24 10:22:46 +1100
commitba79fe858ce487de6138893be6834309085bedbb (patch)
treed7d03791adebf2c44f2b941fe70d12aa7ba4e226 /util/src/entities/Emoji.ts
parentAdded `typescript-cached-transpile` package to help improve performance (diff)
parent* Replaced list of invisible characters with unicode codepoints (diff)
downloadserver-ba79fe858ce487de6138893be6834309085bedbb.tar.xz
Merge branch 'master' into tsnode
Diffstat (limited to '')
-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) }