4. New ClientUser Method

From Discord S.C.U.M
Update to v1.2.0
This commit is contained in:
March 7th
2022-03-30 19:50:57 +07:00
parent 8c7dfd595c
commit fe1b3fc880
7 changed files with 383 additions and 192 deletions

View File

@@ -423,6 +423,11 @@ class User extends Base {
return json;
}
/**
* Set note to user
* @param {String<User.note>} note Note to set
* @returns {Promise<User.note>}
*/
async setNote(note = null) {
await this.client.api.users['@me']
.notes(id)