mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 18:13:29 +01:00
Added VoiceStateUpdate handler and DataStore for VoiceChannels. Also added toString methods to Guilds, DMChannels, ServerChannels and Users.
This commit is contained in:
@@ -17,6 +17,10 @@ class User {
|
||||
this.status = data.status || 'offline';
|
||||
this.game = data.game;
|
||||
}
|
||||
|
||||
toString() {
|
||||
return `<@${this.id}>`;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = User;
|
||||
|
||||
Reference in New Issue
Block a user