@kamkam1_0/discord.js
Version:
Allows you to fully interact with discord's apis
28 lines (23 loc) • 709 B
JavaScript
const baseUser = require("../singles/user")
const methodMe = require("../../methods/me")
class clientUser extends baseUser{
constructor(user, bot){
super(user, bot)
}
setStatus(options){
let presence = methodMe.setstatus(this._bot, options)
this._bot.events.presence = presence
return presence
}
setActivity(options){
let presence = methodMe.setactivity(this._bot, options)
this._bot.events.presence = presence
return presence
}
setPresence(options){
let presence = methodMe.setpresence(this._bot, options)
this._bot.events.presence = presence
return presence
}
}
module.exports = clientUser