feat: Switch User

test #477
This commit is contained in:
March 7th
2023-01-26 13:40:51 +07:00
parent e8c3bcb0a0
commit 4c838a5e26
14 changed files with 79 additions and 60 deletions

View File

@@ -139,8 +139,8 @@ class GuildSettingManager extends BaseManager {
* @returns {Promise<GuildSettingManager>}
*/
async edit(data) {
const data_ = await this.client.api.users('@me').settings.patch(data_);
this._patch(data);
const data_ = await this.client.api.users('@me').settings.patch(data);
this._patch(data_);
return this;
}
}