mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 22:51:32 +00:00
Change update to create (#1231)
This commit is contained in:
parent
dfb1a16e9e
commit
0e6b5e9193
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue