mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
Change update to create (#1231)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user