1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-06 10:52:31 +01:00

Schema change for group specific emojis

This commit is contained in:
Erkin Alp Güney 2022-01-12 09:55:14 +03:00 committed by GitHub
parent 0184147294
commit 6f9a949a6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}