modmail/structure/abstractions/CacheHandler.js

40 lines
690 B
JavaScript
Raw Normal View History

2021-09-26 00:24:32 +02:00
class CacheHandler {
constructor (client) {
this.client = client;
}
load () {
throw new Error('Not implemented');
}
savePersistentCache () {
throw new Error('Not implemented');
}
saveModmailHistory () {
throw new Error('Not implemented');
}
loadModmailHistory () {
throw new Error('Not implemented');
}
verifyQueue () {
throw new Error('Not implemented');
}
2021-09-26 00:24:32 +02:00
get json () {
return {
queue: this.queue,
channels: this.channels,
lastActivity: this.lastActivity,
misc: this.misc
};
}
}
module.exports = CacheHandler;