26 lines
414 B
JavaScript
26 lines
414 B
JavaScript
|
const { Observer } = require("../../../interfaces");
|
||
|
|
||
|
class MessageCache extends Observer {
|
||
|
|
||
|
constructor(client) {
|
||
|
|
||
|
super(client, {
|
||
|
name: 'messageCache',
|
||
|
priority: 0
|
||
|
});
|
||
|
|
||
|
this.client = client;
|
||
|
|
||
|
this.hooks = [
|
||
|
['ws', this.handleWs.bind(this)]
|
||
|
];
|
||
|
|
||
|
}
|
||
|
|
||
|
async handleWs(stuff) {
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
module.exports = MessageCache;
|