Change update to create (#1231)

This commit is contained in:
lipgloss 2017-02-27 00:03:24 -07:00 committed by Amish Shah
parent dfb1a16e9e
commit 0e6b5e9193

View file

@ -633,7 +633,7 @@ class Guild {
* .catch(console.error);
*/
createChannel(name, type, overwrites) {
return this.client.rest.methods.updateChannel(this, name, type, overwrites);
return this.client.rest.methods.createChannel(this, name, type, overwrites);
}
/**