Fix DMs breaking

This commit is contained in:
Amish Shah
2016-08-25 21:38:44 +01:00
parent 8d094cdfb1
commit ccf513a2fc
4 changed files with 4 additions and 67 deletions

View File

@@ -69,7 +69,8 @@ class ClientDataManager {
this.client.emit(Constants.Events.CHANNEL_CREATE, channel);
}
return this.client.channels.set(channel.id, channel);
this.client.channels.set(channel.id, channel);
return channel;
}
return null;
}