mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-06 19:02:33 +01:00
Schema change for group specific emojis
This commit is contained in:
parent
0184147294
commit
6f9a949a6f
@ -10,7 +10,7 @@ export class Emoji extends BaseClass {
|
|||||||
animated: boolean;
|
animated: boolean;
|
||||||
|
|
||||||
@Column()
|
@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()
|
@Column()
|
||||||
guild_id: string;
|
guild_id: string;
|
||||||
@ -40,4 +40,7 @@ export class Emoji extends BaseClass {
|
|||||||
|
|
||||||
@Column({ type: "simple-array" })
|
@Column({ type: "simple-array" })
|
||||||
roles: string[]; // roles this emoji is whitelisted to (new discord feature?)
|
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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user