galactic-bot/structure/client/components/observers/ActivityTracker.js
Navy d6a0f99601 A lot of shit
Co-authored-by: nolan <noooolaaaan@gmail.com>
2020-04-17 18:23:13 +03:00

38 lines
678 B
JavaScript

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