Browse Source

Merged feature/log-requesting into develop

shorten
benji7425 4 years ago
parent
commit
9d3ba19f0c
  1. 3
      config.json
  2. 6
      feed-bot.js

3
config.json

@ -3,5 +3,6 @@
"channelID": "264420391282409473",
"pollingInterval": 5000,
"numLinksToCache": 10,
"youtubeMode": true
"youtubeMode": true,
"logRequestMessage": "!logsplease"
}

6
feed-bot.js

@ -58,6 +58,12 @@ var DiscordClient = {
return url;
});
}
else if (message == Config.logRequestMessage) {
DiscordClient.bot.uploadFile({
to: channelID,
file: "./log"
});
}
},
checkPastMessagesForLinks: function () {
var limit = 100;

Loading…
Cancel
Save