bug fix
This commit is contained in:
parent
21caf6ad1d
commit
3c5cb3df6c
2 changed files with 2 additions and 2 deletions
|
@ -429,7 +429,7 @@ class Channel {
|
|||
return div;
|
||||
}
|
||||
createChannel(name, type) {
|
||||
fetch(this.info.api.toString() + "/guilds/" + this.guild.snowflake + "/channels", {
|
||||
fetch(this.info.api.toString() + "/guilds/" + this.guild.id + "/channels", {
|
||||
method: "POST",
|
||||
headers: this.headers,
|
||||
body: JSON.stringify({
|
||||
|
|
|
@ -437,7 +437,7 @@ class Channel{
|
|||
return div;
|
||||
}
|
||||
createChannel(name:string,type:number){
|
||||
fetch(this.info.api.toString()+"/guilds/"+this.guild.snowflake+"/channels",{
|
||||
fetch(this.info.api.toString()+"/guilds/"+this.guild.id+"/channels",{
|
||||
method:"POST",
|
||||
headers:this.headers,
|
||||
body:JSON.stringify({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue