get rid of snowflake stuff more
This commit is contained in:
parent
03041cf9fd
commit
004beb4955
13 changed files with 23 additions and 47 deletions
|
@ -20,7 +20,7 @@ class Role {
|
|||
this.info = owner.info;
|
||||
for (const thing of Object.keys(json)) {
|
||||
if (thing === "id") {
|
||||
this.snowflake = new SnowFlake(json.id, this);
|
||||
this.snowflake = new SnowFlake(json.id);
|
||||
continue;
|
||||
}
|
||||
this[thing] = json[thing];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue