diff --git a/src/structures/Presence.js b/src/structures/Presence.js index 535c7d11d..054e92195 100644 --- a/src/structures/Presence.js +++ b/src/structures/Presence.js @@ -134,6 +134,14 @@ class Activity { ); } + /** + * When concatenated with a string, this automatically returns the activities's name instead of the Activity object. + * @returns {string} + */ + toString() { + return this.name; + } + _clone() { return Object.assign(Object.create(this), this); }