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

37 lines
603 B
JavaScript

const { Observer } = require('../../../interfaces/');
class ActivityTracker extends Observer {
constructor(client) {
super(client, {
name: 'activityTracker',
priority: 4,
guarded: true
});
this.client = client;
this.cache = { };
this.hooks = [
['message', this.onMessage.bind(this)],
['voiceStateUpdate', this.onVoiceState.bind(this)]
];
}
async onMessage(message) {
}
async onVoiceState(oldState, newState) {
}
}
module.exports = ActivityTracker;