mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 11:03:30 +01:00
Clean up presence constructor
This commit is contained in:
@@ -2,10 +2,7 @@
|
|||||||
* Represents a user's presence
|
* Represents a user's presence
|
||||||
*/
|
*/
|
||||||
class Presence {
|
class Presence {
|
||||||
constructor(data) {
|
constructor(data = {}) {
|
||||||
if (!data) {
|
|
||||||
data = {};
|
|
||||||
}
|
|
||||||
/**
|
/**
|
||||||
* The status of the presence:
|
* The status of the presence:
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user