mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 22:51:32 +00:00
Webpack build for branch master: 30dd9be900
This commit is contained in:
parent
619d8bff67
commit
f4df7fa410
2 changed files with 3 additions and 3 deletions
|
|
@ -1199,7 +1199,7 @@ class Permissions {
|
|||
const perm = this.constructor.resolve(permissions[p]);
|
||||
if ((this.bitfield & perm) !== perm) total |= perm;
|
||||
}
|
||||
return new this.constructor(this.bitfield | total);
|
||||
return new this.constructor(this.member, this.bitfield | total);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -1213,7 +1213,7 @@ class Permissions {
|
|||
const perm = this.constructor.resolve(permissions[p]);
|
||||
if ((this.bitfield & perm) === perm) total |= perm;
|
||||
}
|
||||
return new this.constructor(this.bitfield & ~total);
|
||||
return new this.constructor(this.member, this.bitfield & ~total);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue