diff --git a/bot.js b/bot.js index e4bcf3d..0925c87 100644 --- a/bot.js +++ b/bot.js @@ -179,6 +179,14 @@ function imgurRequest(subreddit, page_max) { return returnText; } +// Remote config pull +async function getBotConfigValueFrom(key) { + let configJson = await loadJson("https://git.dtam.pw/daniel/discord-bot-js/raw/master/bot-config.json"); + // todo use keys get value; + let value = "magic parsing of configJson"; + return value; +} + // Abstracted Reddit Json media grab. Will return a list of URLs! function getUrlListFromReddit(json) {