mirror of
https://github.com/danbulant/discord.js
synced 2026-07-06 11:40:41 +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);
|
* .catch(console.error);
|
||||||
*/
|
*/
|
||||||
createChannel(name, type, overwrites) {
|
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