You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

195 lines
6.1 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. # Changelog
  2. ## v3.5.1
  3. ### Fixed
  4. - Fixed reset command not working
  5. ### Updated
  6. - Removed deletion of data for removed guilds on startup, as Discord outages can wrongly report the bot as being removed
  7. ## v3.5.0
  8. ### Added
  9. - MongoDB support
  10. - Reset command to clear all data for a guild
  11. ### Updated
  12. - Removed automatic daily restart (I think it shouldn't be needed now that MongoDB support is working)
  13. ### Fixed
  14. - Guild data being deleted on a Discord outage
  15. ## v3.4.0
  16. ### Added
  17. - Added automatic daily restart
  18. ### Updated
  19. - Disabled a few unused websocket events
  20. - Update database compaction to be more frequent
  21. ### Fixed
  22. - Fixed YouTube feeds not updating
  23. ## v3.3.0
  24. ### Updated
  25. - Updated RSS parser to now use [rss-parser](https://www.npmjs.com/package/rss-parser) module to increase compatibility with feeds
  26. - Updated RSS entry caching to exclude 'www.' prefix to avoid certain mis-caches
  27. ## v3.2.2
  28. ### Fixed
  29. - Fixed a couple of edge case errors
  30. ## v3.2.1
  31. ### Fixed
  32. - Fixed memory leak due to unconfigured discord.js caching
  33. ## v3.2.0
  34. ### Updated
  35. - Updated data storage to use a NeDB database rather than a json file
  36. - Updated feed checking interval to check one guild every 10 seconds (this may slow down the time it takes to post, but will improve performance)
  37. - Improve stability of feed checking
  38. - Tidy up some console spam
  39. ### Fixed
  40. - Fix bot crash if feed article contains link with invalid host name
  41. - Temporary fix for bot crash if used with a feed without links in the articles (didn't realise this was possible...)
  42. - Attempt fix for issues caused by every feed of every guild being checked at the same time
  43. ## v3.1.3
  44. ### Added
  45. - Add rudimentary pagination for viewing feeds when there are more than 10
  46. ### Fixed
  47. - Fix articles not posting if contents too long for a single discord message
  48. ## v3.1.2
  49. ### Fixed
  50. - Deleted channels with feeds sending the bot into a reconnect loop
  51. ## v3.1.1
  52. ### Fixed
  53. - Empty RSS feed crash
  54. ## v3.1.0
  55. ### Added
  56. - RSS element content is now included in the post the bot makes when there is a new feed
  57. - Warning message after setup command if supplied URL does not return valid RSS
  58. - Guild join and leave messages in the console
  59. - Removal of guild data if the bot leaves a guild
  60. ### Updated
  61. - Route a lot of mostly irrelevant console spam to a file instead of the console
  62. - Updated launch command to pass max-old-space-size parameter to limit memory usage
  63. ### Fixed
  64. - Fixed syntax error when role omitted in feed setup command; it is now properly optional
  65. - Fixed the wrong feed sometimes being removed when using the remove-feed command
  66. ## v3.0.1
  67. ### Fixed
  68. - Fixed nicknamed bot not responding to users on android
  69. - Fixed "playing" message including "https://" in front of site url
  70. ## v3.0.0
  71. ### Added
  72. - Significantly more debug logging
  73. - Fancy new @bot help command
  74. ### Updatd
  75. - Significant back-end updates
  76. - Commands now invoked with an @mention to the bot
  77. - Updated error handling for Discord API errors
  78. - Removed "Body is not RSS or ATOM" error from being console logged
  79. - These seem to happen quite a lot, but don't actually impair the functionality, so just cause un-necessary spam
  80. - Removed "command not recognised" response, it caused 'fake' errors if multiple bots being run off the same token
  81. ### Fixed
  82. - Fixed full and short youtube urls not being properly converted
  83. - Fixed "multiple instance" issue
  84. - Fixed a couple of occasional memory leaks
  85. ## v2.0.0-b1
  86. ### Added
  87. - Multi-guild support
  88. - In-chat commands for setup and configuration
  89. - Add a new feed
  90. - View a list of feeds
  91. - Remove an existing feed
  92. ### Updated
  93. - Make save file configurable to allow use as a module with other bots
  94. - Update config file structure
  95. - Now uses discord.js instead of discord.io
  96. - YouTube links automatically handled; no more separate "YouTube mode" config item
  97. ### Fixed
  98. - Crash if trying to view feeds list before any feeds have been set up
  99. ## v1.4.0
  100. ### Added
  101. - Support for posting links from multiple feeds
  102. - Tagging of separate roles for each feed being checked
  103. ### Updated
  104. - Updated bot connection code to use my discord-bot-wrapper
  105. ### Removed
  106. - !logsplease command removed as the OTT logging was just being annoying
  107. ## v1.3.2
  108. ### Fixed
  109. - Fixed list posting channel messages being ignored
  110. ## v1.3.1
  111. ### Fixed
  112. - Developer commands can now be used from any channel or PM
  113. ## v1.3.0
  114. ### Added
  115. - Deletion of "You have successfully subscribed" messages after a short delay (configurable)
  116. - 'Developer' commands that can only be accessed by specified users
  117. - !cacheList developer command to view the cached URLs
  118. ### Updated
  119. - !logsplease is now a developer command
  120. - Subscriptions are now done using a role
  121. - !subscribe and !unsibscribe add and remove the user from the role
  122. - !sublist command is now removed
  123. - The role is mentioned when the link is posted, rather than a long chain of user IDs
  124. ## v1.2.1
  125. ### Fixed
  126. - Fixed multiple users being unsubscribed when one user unsubscribes
  127. ## v1.2.0
  128. ### Added
  129. - Chat message/command to request a list of subscribed users
  130. - The ability for users to 'subscribe' so they are tagged whenever a new link is posted
  131. - Logging to a file
  132. - Ability for user to request an upload of the logs file
  133. ### Updated
  134. - Added basic spam reduction when logging so the same message won't get logged multiple times in a row
  135. - Refactored a bunch of code to improve efficiency
  136. - Updated timer logic to only ever use a single timer, and share it between posting and reconnecting
  137. ## v1.1.2
  138. ### Updated
  139. - Updated reconnect logic to hopefully be more stable
  140. ## v1.1.1
  141. ### Added
  142. - Reconnect timer to repeatedly try reconnect at intervals
  143. ### Updated
  144. - Updated support for https conversion to http to hopefully be more consistent
  145. ## v1.1.0
  146. ### Added
  147. - Added togglable YouTube mode
  148. - Converts full URLs to YouTube share URLs
  149. - Checks against both YouTube full and share URLs to ensure same video not posted twice
  150. - New logging class to handle logging
  151. ### Updated
  152. - Major refactor of a significant portion of the bot's code - should be easier to maintain now, but may have introduced some new bugs
  153. - Changed expected name for bot config file to bot-config.json rather than botConfig.json
  154. ### Fixed
  155. - New timer being created every time the bot reconnected