feat: Update

This commit is contained in:
March 7th
2022-11-15 20:06:03 +07:00
parent 0b17709471
commit 1adbddceda
6 changed files with 139 additions and 78 deletions

View File

@@ -77,6 +77,18 @@ class CustomStatus {
state: this.state,
};
}
/**
* When concatenated with a string, this automatically returns the activities' name instead of the Activity object.
* @returns {string}
*/
toString() {
return this.name;
}
_clone() {
return Object.assign(Object.create(this), this);
}
}
class RichPresence {
@@ -520,6 +532,18 @@ https://github.com/aiko-chan-ai/discord.js-selfbot-v13/blob/main/Documents/RichP
});
return res;
}
/**
* When concatenated with a string, this automatically returns the activities' name instead of the Activity object.
* @returns {string}
*/
toString() {
return this.name;
}
_clone() {
return Object.assign(Object.create(this), this);
}
}
/**