Commit Graph

60 Commits

Author SHA1 Message Date
Eugene Molotov a9535aa974 Use correct attribute to resolve host 2018-09-19 11:38:17 +05:00
Yotam Barnoy ae44a77148 Support html-to-text for cleaning up html 2018-06-07 01:24:06 +00:00
Yotam Barnoy f764ad3dc7 Reduced message size a little 2018-06-07 01:23:01 +00:00
Yotam Barnoy dcae7ff65a aesthetic 2018-06-05 02:50:12 +00:00
Yotam Barnoy b720f4ae87 feed-data: update max message length 2018-06-05 02:49:36 +00:00
Yotam Barnoy 01a60db602 Trim articles that are too long rather than skipping them 2018-06-04 16:33:53 -04:00
Yotam Barnoy ac29bd801d Raise max char count 2018-06-04 16:27:49 -04:00
benji7425 d6866e2147 Remove unused reference causing problems 2018-01-27 18:15:14 +00:00
benji7425 c1750e0842 Update core naming to make a little more sense 2018-01-27 17:39:52 +00:00
benji7425 9c1252cfd8 Update formatting; convert tabs to 4x spaces
I believe this is the accepted method and should increase default editor compatibility
2018-01-26 23:48:07 +00:00
benji7425 f904eecc50 3.4.0
Fix YouTube feeds not posting anymore
2018-01-23 23:19:48 +00:00
benji7425 25f2a7bd5f Switch from 'feed-read' module to 'rss-parser' 2018-01-14 20:08:05 +00:00
benji7425 f261e4e1d4 Update feed url caching to ignore 'www.' prefix
Has caused some issues with users posting links with/without www. and the RSS feed doing the opposite
Improve regex
2018-01-14 18:31:33 +00:00
benji7425 cb718dea41 3.2.2
asdf
2018-01-07 23:48:29 +00:00
benji7425 4dd6171549 Refactor for efficiency and improved readability 2017-12-11 01:05:43 +00:00
benji7425 f54f610c01 3.2.0-b3
Fix some race conditions with the 3.2 update
2017-12-09 01:38:42 +00:00
benji7425 30ed030b62 3.2.0-b2
Fix some issues with 3.2 upgrades
2017-12-08 22:54:45 +00:00
benji7425 041c3464f9 Add legacy json file upgrader 2017-12-08 00:54:07 +00:00
benji7425 20fa9d09af Update feed error handling 2017-12-08 00:29:16 +00:00
benji7425 da1edc57f0 Add removal of data on startup for guilds deleted during downtime 2017-12-08 00:09:07 +00:00
benji7425 8dfbab0122 Add guild iteration for feed checking
Update default feed check interval to be 10 seconds between guilds
2017-12-08 00:09:03 +00:00
benji7425 78eec753f1 Fix links not being properly cached with camo integration 2017-12-07 22:48:49 +00:00
benji7425 52e3399b75 Integrate rss bot with camo 2017-12-07 22:26:45 +00:00
benji7425 695f42348a Tidy up some feed error spam 2017-12-03 16:04:15 +00:00
benji7425 cc5e74e46e Fix crash if articles contain urls with invalid host names 2017-12-03 15:53:12 +00:00
benji7425 990cd60425 Fix crash if feed used with articles without links
Didn't realise this was possible...
2017-11-27 09:35:36 +00:00
benji7425 9901b3dc19 Housekeeping 2017-11-27 00:16:54 +00:00
benji7425 3e24a63a86 Add pagination limit to config 2017-11-27 00:07:29 +00:00
benji7425 4c7d826b52 Add rudimentary pagination for viewing feeds 2017-11-27 00:02:39 +00:00
benji7425 8f1c840447 Fix articles not posting if content too long for discord
Also fix incorrect name in example commands
2017-11-26 23:38:01 +00:00
benji7425 68680d624f Quickfix deleted channels with feeds causing reconnect loop 2017-11-14 22:28:04 +00:00
benji7425 f1c12c8a19 Fix empty RSS feed crash 2017-11-14 01:31:46 +00:00
benji7425 c3a55a6c5b Fix wrong feed being removed when the remove-feed command used 2017-11-12 19:34:04 +00:00
benji7425 c1be0ff0e6 Add rss element content into posted message 2017-11-11 03:21:05 +00:00
benji7425 3877aa5c59 Add feed validity checking before adding 2017-11-11 01:59:00 +00:00
benji7425 74a7a5d569 Fix user posted links not being detected if setup done after b5 update 2017-10-05 23:06:19 +01:00
Benji a489726eb6 3.0.0-b7
Fix crash restart when bot received DM
2017-10-02 11:49:58 +01:00
benji7425 e3c102aa5b 3.0.0-b6
Remove 'BODY is not RSS or ATOM' error from console logging'
2017-10-02 02:08:13 +01:00
benji7425 fd650dd981 Prevent checking of feeds for guilds the bot is no longer in
Plus fix a couple related issues
2017-10-02 00:52:36 +01:00
benji7425 ef5f455d4d Add upgrading of json data on startup 2017-10-02 00:42:01 +01:00
benji7425 b3deb2a640 Refactor multiple areas for simplicity and readability
This is a squash commit of many commits
2017-10-01 23:20:06 +01:00
benji7425 5b2916bf77 I changed my mind, we're going back to promises
Require command invoke methods to return a promise
2017-09-24 22:46:58 +01:00
benji7425 b682b8af5c Update commands to use message.reply, rather than promises
The promise method was just too annoying, better to go back to .reply
2017-09-24 21:39:34 +01:00
benji7425 a744b1c69c Separate commands into separate files for command framework compatibility 2017-09-24 21:31:30 +01:00
benji7425 44d69cd12d Add some error handling 2017-09-20 01:18:44 +01:00
benji7425 ed427fe3b2 Fix misleading logged error if just "youtube.com" pasted in chat 2017-09-20 00:56:05 +01:00
benji7425 f25dae8e93 Fix (actually this time) youtube feature urls not being properly converted 2017-09-20 00:43:59 +01:00
benji7425 332a48f841 Fix past links not being checked when a new feed is added 2017-09-20 00:43:42 +01:00
benji7425 39df448016 Update for proper compatibility with current core code 2017-09-20 00:04:04 +01:00
benji7425 6398e39359 Add passing in of token file 2017-09-14 21:57:15 +01:00