mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-06 13:57:54 +00:00
feat: add created to group properties
This commit is contained in:
parent
59833224ce
commit
05b590e7b9
1 changed files with 2 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ export default class Group {
|
|||
banner?: string;
|
||||
color?: string;
|
||||
privacy?: GroupPrivacy;
|
||||
created?: string;
|
||||
|
||||
constructor(data: any) {
|
||||
this.id = data.id;
|
||||
|
|
@ -25,6 +26,7 @@ export default class Group {
|
|||
this.icon = data.icon;
|
||||
this.banner = data.banner;
|
||||
this.color = data.color;
|
||||
this.created = data.created;
|
||||
if (data.privacy) {
|
||||
this.privacy = {}
|
||||
this.privacy.description_privacy = data.privacy.description_privacy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue