Releases: xoltia/botsu
Releases · xoltia/botsu
v0.3.3
v0.3.2
- Fix broken backup ytchannel package
- Fix access of byte slices returned by bluge outside of intended scope causing panic in json decoder
- Fix goals not resetting as expected (now applies current log after reset and resets past due goals when viewed)
Full Changelog: v0.3.1...v0.3.2
v0.3.1
- Goals
- Bug fixes
- "CST" time zone temporarily removed, use America/Chicago
Full Changelog: v0.3.0...v0.3.1
v0.3.0
Fixes
- Upgraded to discordgo@master to apply a fix to API changes made by Discord
- For now 0.2.x and 0.1.x versions do not work
Improvements
- Better success/error messages
- History pagination now times out at 2 minutes
- New history options
show-ids
shows ID as field titlesquick-nav
replaces next and previous buttons with multiple arrows for quicker navigation
- Data sources update without any intervention
- Customize interval using
data_update_interval
in the config file (in nanoseconds, defaults to 7 days) - Restarting the bot updates the data regardless of update time, use the
--skip-data-update
flag to prevent this.
- Customize interval using
- YouTube videos will attempt to fallback to yt-dlp if the first attempt fails
- NSFW visual novel thumbnails are blurred
Full Changelog: v0.2.6...v0.3.0
v0.2.6
- Import restriction is less strict allowing for 100 character long activity names instead of 100 byte long names
- Video meta now includes hashtags found in video description (youtube only)
Full Changelog: 0.2.5...v0.2.6
v0.2.5
Fixes crash when an interaction is recieved from guild (introduced in 0.2.1)
Full Changelog: v0.2.4...v0.2.5
v0.2.4
complex-duration
variables (t = ?t param of video URL in seconds, _ = video duration)- refactoring
- single handler for all component interactions
- use interaction context for response edits
Full Changelog: v0.2.3...v0.2.4
v0.2.3
- Migrations no longer require providing a source. Migrations are now embedded into the binary and automatically applied at runtime unless disabled with the
-skip-migration
flag - Add
complex-duration
for logging durations for videos. For example, allows you to type1m30s
instead of regular integer minutes, or2h:
to log the length of the video minus the first two hours - Move index files location. All index files
*-index.bluge
are now located underdata/.index
instead of directly in the CWD.
Full Changelog: v0.2.2...v0.2.3
Panic recovery
Adds new config option to recover panics caused by command handlers.
Used by either:
- setting
BOTSU_NO_PANIC
env variable to a truthy value (1
,true
,t
, etc.) - setting
no_panic
in the TOML config file totrue
When enabled, panics rooting from handlers will be logged as errors along with the stack trace. If not enabled, the program will crash.
Full Changelog: v0.2.1...v0.2.2
v0.2.1
Fixes
- Fixed bug that causes one time actions to possibly not be registered (ex. confirm buttons)
- Imported activity is now validated prior to attempting to insert
Improvements
- Better logs, switched from log to slog and logs are now in prettier format
- Improved usage with -help flag
- Shows toml structure and env vars