Skip to content

0.7.3

Choose a tag to compare

@Yuuzi261 Yuuzi261 released this 23 Sep 08:35
977f712

📌 If you want to upgrade from 0.7.2 to 0.7.3, please pull the code first and follow the upgrade guide.

features:

  • Implemented a notification retry mechanism with exponential backoff to automatically retry sending messages upon encountering transient Discord server or network errors (such as 503 Service Unavailable or timeouts), resolving part of issue #98. ← MORE CHANCE, GREATER ROBUSTNESS💪
  • Added support for prioritizing existing saved sessions on startup, eliminating the need to force a re-login on every bot restart.

refactor:

  • Corrected a typo in the type hint for the fetch_tracked_channels function parameter.

fixes:

  • Resolved autocomplete exceptions caused by excessive choices (> 25) or choice labels exceeding Discord's 100-character limit, resolving part of issue #98. ← GOODBYE HTTP 400😎
  • Updated the tweety-ns dependency with a cache-busting patch to address login failures caused by Cloudflare edge caching on X (business.x.com). ← NO RNG REQUIRED✨
  • Fixed an issue where deleted channels (# unknown) could not be filtered by query in channel autocomplete.
  • Fixed an issue where HTML entities (such as &, <, >) in tweet content were not unescaped, preventing raw entities from displaying in Discord messages or breaking Markdown formatting (applies when using the built_in embed type).
  • Safely retrieve the selected channel option via itn.namespace in username autocomplete to avoid potential exceptions when accessing raw interaction data.

performance:

  • Optimized fetch_tracked_channels by terminating search early once the maximum autocomplete choice limit (25) is reached, avoiding unnecessary database iterations.