mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Simulate channel structure if user's voice channel was not found
This commit is contained in:
@@ -257,7 +257,7 @@ var Server = (function (_Equality) {
|
||||
return chan;
|
||||
}
|
||||
}
|
||||
return this;
|
||||
return { server: this };
|
||||
};
|
||||
|
||||
Server.prototype.equalsStrict = function equalsStrict(obj) {
|
||||
|
||||
@@ -208,7 +208,7 @@ export default class Server extends Equality {
|
||||
return chan;
|
||||
}
|
||||
}
|
||||
return this;
|
||||
return {server: this};
|
||||
}
|
||||
|
||||
equalsStrict(obj) {
|
||||
|
||||
Reference in New Issue
Block a user