bug fixes
This commit is contained in:
@@ -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 })
|
||||
|
Reference in New Issue
Block a user