galactic-bot/structure/client/components/observers/MemberUpdates.js
2020-04-17 23:18:52 +03:00

36 lines
574 B
JavaScript

const { Observer } = require('../../../interfaces/');
class MemberUpdates extends Observer {
constructor(client) {
super(client, {
name: 'memberUpdates',
priority: 3,
guarded: true
});
this.client = client;
this.hooks = [
['voiceStateUpdate', this.onVoice.bind(this)],
['guildMemberUpdate', this.onMember.bind(this)]
];
}
async onVoice(oldState, newState) {
}
async onMember(oldMember, newMember) {
}
}
module.exports = MemberUpdates;