mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
Updated README and tests
This commit is contained in:
@@ -95,7 +95,7 @@ class Client {
|
||||
|
||||
//def debug
|
||||
debug(message) {
|
||||
console.log(message);
|
||||
this.trigger("debug", message);
|
||||
}
|
||||
|
||||
on(event, fn) {
|
||||
@@ -185,6 +185,7 @@ class Client {
|
||||
callback(err);
|
||||
reject(err);
|
||||
} else {
|
||||
self.websocket.close();
|
||||
self.state = 4;
|
||||
callback();
|
||||
resolve();
|
||||
|
||||
Reference in New Issue
Block a user