Skip to content

Releases: xoltia/botsu

v0.3.3

30 Oct 11:29
Compare
Choose a tag to compare
  • Add support for YouTube Data API due to IP blocking
  • Use channel ID and channel names instead of handles for YouTube stats
  • Refactoring

Full Changelog: v0.3.2...v0.3.3

v0.3.2

16 Jul 19:30
Compare
Choose a tag to compare
  • 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

27 Feb 18:16
Compare
Choose a tag to compare
  • Goals
  • Bug fixes
    • "CST" time zone temporarily removed, use America/Chicago

Full Changelog: v0.3.0...v0.3.1

v0.3.0

04 Jan 19:43
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

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 titles
    • quick-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.
  • 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

16 Dec 01:44
Compare
Choose a tag to compare
  • 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

30 Nov 04:26
Compare
Choose a tag to compare

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

19 Nov 18:18
Compare
Choose a tag to compare
  • 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

14 Nov 23:29
Compare
Choose a tag to compare
  • 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 type 1m30s instead of regular integer minutes, or 2h: to log the length of the video minus the first two hours
  • Move index files location. All index files *-index.bluge are now located under data/.index instead of directly in the CWD.

Full Changelog: v0.2.2...v0.2.3

Panic recovery

07 Nov 23:38
Compare
Choose a tag to compare

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 to true

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

07 Nov 21:48
Compare
Choose a tag to compare

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