fix bug
This commit is contained in:
@@ -49,7 +49,7 @@ class User {
|
||||
});
|
||||
this.contextmenu.addbutton("Message user", function () {
|
||||
fetch(this.info.api + "/users/@me/channels", { method: "POST",
|
||||
body: JSON.stringify({ "recipients": [this.id.id] }),
|
||||
body: JSON.stringify({ "recipients": [this.id] }),
|
||||
headers: this.localuser.headers
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user