mirror of
https://github.com/danbulant/discord.js
synced 2026-07-10 21:50:59 +00:00
User bot property
This commit is contained in:
parent
afdb93b3d6
commit
703ac05400
4 changed files with 26 additions and 20 deletions
|
|
@ -30,6 +30,7 @@ var User = (function (_Equality) {
|
|||
this.discriminator = data.discriminator;
|
||||
this.id = data.id;
|
||||
this.avatar = data.avatar;
|
||||
this.bot = data.bot;
|
||||
this.status = data.status || "offline";
|
||||
this.game = data.game || null;
|
||||
this.typing = {
|
||||
|
|
|
|||
|
|
@ -8,6 +8,10 @@ function _inherits(subClass, superClass) { if (typeof superClass !== 'function'
|
|||
|
||||
var Transform = require('stream').Transform;
|
||||
|
||||
/**
|
||||
* @see https://github.com/reneraab/pcm-volume/blob/master/index.js Inspired by this script
|
||||
*/
|
||||
|
||||
var Volume = (function (_Transform) {
|
||||
_inherits(Volume, _Transform);
|
||||
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ export default class User extends Equality{
|
|||
this.discriminator = data.discriminator;
|
||||
this.id = data.id;
|
||||
this.avatar = data.avatar;
|
||||
this.bot = data.bot;
|
||||
this.status = data.status || "offline";
|
||||
this.game = data.game || null;
|
||||
this.typing = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue