done for the night

This commit is contained in:
Dalton
2018-12-12 00:03:09 -08:00
parent 48c9249a0e
commit 7216b2e075

8
bot.js
View File

@@ -179,6 +179,14 @@ function imgurRequest(subreddit, page_max) {
return returnText; 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! // Abstracted Reddit Json media grab. Will return a list of URLs!
function getUrlListFromReddit(json) { function getUrlListFromReddit(json) {