mirror of
https://github.com/danbulant/discord.js
synced 2026-06-23 16:52:14 +00:00
Webpack build for branch master: 016526486c
This commit is contained in:
parent
37f5cd2bdf
commit
9c2df4a80b
2 changed files with 9 additions and 1 deletions
|
|
@ -2317,6 +2317,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() {
|
_clone() {
|
||||||
return Object.assign(Object.create(this), this);
|
return Object.assign(Object.create(this), this);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue