- Add
!play
command (optional, needs Lavalink) - Use
youtube_poll
- Remove
!vids
(it requires custom youtube logic and wasn't used) - Poll for videos on the side channels
- Optimize the sleeping intervals to poll less, and more when needed
lints
5
- Use the time of startup minus one day for the publish time check
- Fix check for webhooks (they're now called
WebhookAuthor
)
- Print an error and
exit(1)
instead of crashing when no token is provided
- Ping the admin (pixel) by id, not name
- Don't fail if there is no custom message from any of the videos
- Added support for
JANA_DISCORD_TOKEN
environment variable instead of using args - A lot of logging for the YT video posting
- YT videos are now processed synchronously
- The used channels are now just kept as globals
nyxx
6- Added
messageContent
intent - Logging: send
error
andstackTrace
if given - Logging: ping the admin if the log level is >= warning
- Added/Adjusted
!vids
and!vid
commands - The first
checkYoutube
invocation is now also delayed (to not cause any DOS issues, as unlikely as they already were) - Catch errors in
checkYoutube
and the command processing and log them (and tell the user in case of the commands) - Fixed YouTube descriptions being empty (the channel page doesn't have them)
checkYoutube
now makes sure videos weren't published before IED'23 (which is a stopgap measure for stopping it from telling people about old videos in certain edge cases, that have happened btw)
nyxx
5,dart
3- Removed CBT-specific code
- Fixed a crash when videos don't specify messages or reactions
- Add logging to the internal channel, in addition to stdout
- Added support for custom messages and reactions in the video descriptions
- Fixed bug that caused video IDs instead of video links to be posted
- CBT-specific handling to add some voting information
nyxx
4.0.0
- Instead of posting each one separately, videos published at the same time are now in one message
- Logging integrates properly with
nyxx
- New video narrowing algorithm with many advantages
- News are now posted into the proper channel