bug fixes
This commit is contained in:
parent
e79e4affb4
commit
7d5a0d0b65
4 changed files with 4 additions and 4 deletions
|
@ -514,7 +514,7 @@ class Guild {
|
|||
this.printServers();
|
||||
}
|
||||
createChannel(name, type) {
|
||||
fetch(this.info.api + "/guilds/" + this.snowflake + "/channels", {
|
||||
fetch(this.info.api + "/guilds/" + this.id + "/channels", {
|
||||
method: "POST",
|
||||
headers: this.headers,
|
||||
body: JSON.stringify({ name, type })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue