diff --git a/structure/abstractions/CacheHandler.js b/structure/abstractions/CacheHandler.js new file mode 100644 index 0000000..d11d7e5 --- /dev/null +++ b/structure/abstractions/CacheHandler.js @@ -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; \ No newline at end of file