diff --git a/lib/Structures/Server.js b/lib/Structures/Server.js index e222b079f..a670d0f25 100644 --- a/lib/Structures/Server.js +++ b/lib/Structures/Server.js @@ -257,7 +257,7 @@ var Server = (function (_Equality) { return chan; } } - return this; + return { server: this }; }; Server.prototype.equalsStrict = function equalsStrict(obj) { diff --git a/src/Structures/Server.js b/src/Structures/Server.js index e3ce78f36..0084b1a56 100644 --- a/src/Structures/Server.js +++ b/src/Structures/Server.js @@ -208,7 +208,7 @@ export default class Server extends Equality { return chan; } } - return this; + return {server: this}; } equalsStrict(obj) {