Minor update

- feat(Client): redeemNitro & autoRedeemNitro
- fix(Modal): Reply modal bug
- fix(RichPresence): setAssetsImage bug
- refactor(RichPresence): Clean code
This commit is contained in:
March 7th
2022-07-09 19:47:00 +07:00
parent 0df013b2dc
commit 536a86a5f3
14 changed files with 88 additions and 7030 deletions

View File

@@ -472,8 +472,8 @@ class User extends Base {
/**
* Set note to user
* @param {string<User.note>} note Note to set
* @returns {Promise<User.note>}
* @param {string} note Note to set
* @returns {Promise<User>}
*/
async setNote(note = null) {
await this.client.api.users['@me'].notes(this.id).put({ data: { note } });