This commit is contained in:
MathMan05 2024-08-08 16:38:00 -05:00
parent 21caf6ad1d
commit 3c5cb3df6c
2 changed files with 2 additions and 2 deletions

View file

@ -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({