Skip to content

Commit

Permalink
Scaffolding for #46 and #73
Browse files Browse the repository at this point in the history
  • Loading branch information
jakethedev committed Jan 26, 2022
1 parent 62581ec commit eac9565
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion util/servercachedao.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const fs = require('fs')
const day = require('../../util/dayjs')
const _cacheFile = 'serverdao.json'
const _cacheFile = 'servercache.json'
const log = msg => console.log(`serverdao: ${msg}`)

let serverData = {}
Expand All @@ -21,3 +21,14 @@ function _saveServerData(){
}
}

exports.listenToChannel = function(discChannel) {
//TODO save channel
}

exports.ignoreChannel = function(discChannel) {
//TODO unsave channel
}

exports.getChannels = function(serverid) {
//TODO return [ channelids ]
}

0 comments on commit eac9565

Please sign in to comment.