mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
Actually return something
This commit is contained in:
@@ -571,7 +571,7 @@ export default class InternalClient {
|
||||
return this.apiRequest("post", Endpoints.LOGOUT, true)
|
||||
.then(disconnect);
|
||||
} else {
|
||||
disconnect();
|
||||
return disconnect();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user