mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +01:00
Fixed unavailable message
This commit is contained in:
@@ -778,6 +778,8 @@ var Client = (function () {
|
||||
return;
|
||||
}
|
||||
|
||||
self.trigger("raw", dat);
|
||||
|
||||
//valid message
|
||||
switch (dat.t) {
|
||||
|
||||
@@ -1150,7 +1152,7 @@ var Client = (function () {
|
||||
|
||||
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