mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
Fixed unavailable message
This commit is contained in:
@@ -760,6 +760,8 @@ class Client {
|
||||
return;
|
||||
}
|
||||
|
||||
self.trigger("raw", dat);
|
||||
|
||||
//valid message
|
||||
switch (dat.t) {
|
||||
|
||||
@@ -1050,7 +1052,7 @@ class Client {
|
||||
|
||||
if(data.unavailable){
|
||||
self.trigger("unavailable", data);
|
||||
self.debug("Server ID" + + " has been marked unavailable by Discord. It was not cached.");
|
||||
self.debug("Server ID " + data.id + " has been marked unavailable by Discord. It was not cached.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user