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