fix API bugs
This commit is contained in:
parent
1d705a6f63
commit
01be46d5e1
8 changed files with 42 additions and 42 deletions
|
@ -18,7 +18,7 @@ class Member{
|
|||
navigator.clipboard.writeText(this.id);
|
||||
});
|
||||
this.contextmenu.addbutton("Message user",function(){
|
||||
fetch(this.info.api+"/v9/users/@me/channels",
|
||||
fetch(this.info.api+"/users/@me/channels",
|
||||
{method:"POST",
|
||||
body:JSON.stringify({"recipients":[this.id]}),
|
||||
headers: this.headers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue