Commit Graph

50 Commits

Author SHA1 Message Date
benji7425 b77eded7c2 3.4.0
Fix YouTube feeds not posting anymore
2018-01-23 23:19:48 +00:00
benji7425 25f67948b2 Switch from 'feed-read' module to 'rss-parser' 2018-01-14 20:08:05 +00:00
benji7425 d452569ad1 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 7ee7d4c704 3.2.2
asdf
2018-01-07 23:48:29 +00:00
benji7425 e953e1cdca Refactor for efficiency and improved readability 2017-12-11 01:05:43 +00:00
benji7425 784ef72392 3.2.0-b3
Fix some race conditions with the 3.2 update
2017-12-09 01:38:42 +00:00
benji7425 446df2f8a7 3.2.0-b2
Fix some issues with 3.2 upgrades
2017-12-08 22:54:45 +00:00
benji7425 94c16927d3 Add legacy json file upgrader 2017-12-08 00:54:07 +00:00
benji7425 5b054b520b Update feed error handling 2017-12-08 00:29:16 +00:00
benji7425 c48c443854 Add removal of data on startup for guilds deleted during downtime 2017-12-08 00:09:07 +00:00
benji7425 6013b0dcbf 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 c93fe0d6ce Fix links not being properly cached with camo integration 2017-12-07 22:48:49 +00:00
benji7425 834898a2f2 Integrate rss bot with camo 2017-12-07 22:26:45 +00:00
benji7425 18f300d46d Tidy up some feed error spam 2017-12-03 16:04:15 +00:00
benji7425 987473ffa6 Fix crash if articles contain urls with invalid host names 2017-12-03 15:53:12 +00:00
benji7425 96def786a4 Fix crash if feed used with articles without links
Didn't realise this was possible...
2017-11-27 09:35:36 +00:00
benji7425 c92688c80a Housekeeping 2017-11-27 00:16:54 +00:00
benji7425 538732cbf4 Add pagination limit to config 2017-11-27 00:07:29 +00:00
benji7425 db86cacaa0 Add rudimentary pagination for viewing feeds 2017-11-27 00:02:39 +00:00
benji7425 21c51fbc3d 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 723bbb1098 Quickfix deleted channels with feeds causing reconnect loop 2017-11-14 22:28:04 +00:00
benji7425 f3c3e57e41 Fix empty RSS feed crash 2017-11-14 01:31:46 +00:00
benji7425 446292b057 Fix wrong feed being removed when the remove-feed command used 2017-11-12 19:34:04 +00:00
benji7425 20bc117dae Add rss element content into posted message 2017-11-11 03:21:05 +00:00
benji7425 f6d1b5f7a6 Add feed validity checking before adding 2017-11-11 01:59:00 +00:00
benji7425 9d4aad4cf9 Fix user posted links not being detected if setup done after b5 update 2017-10-05 23:06:19 +01:00
benji7425 d348d7e41f 3.0.0-b7
Fix crash restart when bot received DM
2017-10-02 11:49:58 +01:00
benji7425 7c5ef008d8 3.0.0-b6
Remove 'BODY is not RSS or ATOM' error from console logging'
2017-10-02 02:08:13 +01:00
benji7425 3e268d2231 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 8980dad584 Add upgrading of json data on startup 2017-10-02 00:42:01 +01:00
benji7425 b4eb3d3551 Refactor multiple areas for simplicity and readability
This is a squash commit of many commits
2017-10-01 23:20:06 +01:00
benji7425 1b2e06c2d5 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 3fc93e06cd 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 8989daef49 Separate commands into separate files for command framework compatibility 2017-09-24 21:31:30 +01:00
benji7425 4ba9f21e69 Add some error handling 2017-09-20 01:18:44 +01:00
benji7425 d8795740f9 Fix misleading logged error if just "youtube.com" pasted in chat 2017-09-20 00:56:05 +01:00
benji7425 e447c1c07f Fix (actually this time) youtube feature urls not being properly converted 2017-09-20 00:43:59 +01:00
benji7425 691af2761f Fix past links not being checked when a new feed is added 2017-09-20 00:43:42 +01:00
benji7425 aeba653e9f Update for proper compatibility with current core code 2017-09-20 00:04:04 +01:00
benji7425 0601c29c85 Add passing in of token file 2017-09-14 21:57:15 +01:00
benji7425 4332c66b43 Refactor some areas for simplicity 2017-09-14 14:02:38 +01:00
benji7425 b6cc8298bc Sqaush merge and adapt for template update using shared core code 2017-09-14 13:09:47 +01:00
benji7425 e78b6539bb Fix full and short youtube urls not correctly being converted 2017-09-12 23:50:03 +01:00
benji7425 89174aebe2 Fix runtime issue when starting up without any data 2017-09-11 17:58:30 +01:00
benji7425 e6b2ed52ef Add passing of parameters to commands
Fix a couple of issues
2017-09-09 20:52:27 +01:00
benji7425 049ce4d2a8 Add extra parameters to be passed to bot onCommand method 2017-09-09 20:32:51 +01:00
benji7425 c792678452 Add v2 functionality 2017-09-09 20:26:04 +01:00
benji7425 d22c9b91dc Add onReady function in bot.js 2017-09-09 20:25:50 +01:00
benji7425 939e6f5946 Add commands to config 2017-09-01 18:19:48 +01:00
benji7425 269c1f9954 Squash merge v2 template code 2017-09-01 15:51:05 +01:00