Added guild.createChannel(name, type)

This commit is contained in:
hydrabolt
2016-04-26 17:44:42 +01:00
parent e9d7dfaee3
commit 2d3116d505
6 changed files with 52 additions and 5 deletions

View File

@@ -131,6 +131,10 @@ class Guild {
}
}
createChannel(name, type) {
return this.client.rest.methods.CreateChannel(this, name, type);
}
get channels() { return this.store.getAsArray('channels'); }
get $channels() { return this.store.data.channels; }