begin work on some abstractions
This commit is contained in:
parent
7715bb6724
commit
1d09d3291b
36
structure/abstractions/CacheHandler.js
Normal file
36
structure/abstractions/CacheHandler.js
Normal file
@ -0,0 +1,36 @@
|
||||
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');
|
||||
}
|
||||
|
||||
get json () {
|
||||
return {
|
||||
queue: this.queue,
|
||||
channels: this.channels,
|
||||
lastActivity: this.lastActivity,
|
||||
misc: this.misc
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
module.exports = CacheHandler;
|
Loading…
Reference in New Issue
Block a user