fix: remove GuildChannel fallback, and remove GuildChannel as extendable (#3165)

* remake pr

* typings
This commit is contained in:
bdistin
2019-04-03 16:02:19 -05:00
committed by SpaceEEC
parent 089f65fd2a
commit bb92289e45
4 changed files with 2 additions and 8 deletions

View File

@@ -60,7 +60,7 @@ class ChannelStore extends DataStore {
const channel = Channel.create(this.client, data, guild);
if (!channel) {
this.client.emit(Events.DEBUG, `Failed to find guild for channel ${data.id} ${data.type}`);
this.client.emit(Events.DEBUG, `Failed to find guild, or unknown type for channel ${data.id} ${data.type}`);
return null;
}