mirror of
https://github.com/danbulant/discord.js
synced 2026-05-24 20:42:27 +00:00
Clean up presence constructor
This commit is contained in:
parent
305070dded
commit
318bb52c36
1 changed files with 1 additions and 4 deletions
|
|
@ -2,10 +2,7 @@
|
|||
* Represents a user's presence
|
||||
*/
|
||||
class Presence {
|
||||
constructor(data) {
|
||||
if (!data) {
|
||||
data = {};
|
||||
}
|
||||
constructor(data = {}) {
|
||||
/**
|
||||
* The status of the presence:
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue