Version 0.5.0a1
Released January 18th, 2026
Added
- New
utilsmodule. Adds the following:YouTubeobject:search: Searches YouTube with a provided query and limit and returns each video's metadata.
- New
autoplayparameter toAudioPlayer.add_queue. Sets if that queued audio should play if no audio is loaded. - Warning issued if attempting to
recordincoming audio while the bot is deaf.
Breaking Changes
futureproperty andwait_for_urlmethod removed fromYouTubeAudioSourcein favor ofresolve_metadataandresolve_mediamethods.- Event system changes:
- Renamed
AudioSecondEventtoAudioElapsedEvent;secondattribute renamed toseconds. Newminutesandhoursattributes. - Renamed
BotJoinVoiceEventandBotLeaveVoiceEventtoBotJoinEventandBotLeaveEvent. - Renamed
MemberJoinVoiceEvent,MemberLeaveVoiceEvent, andMemberMoveVoiceEventtoMemberJoinEvent,MemberLeaveEvent, andMemberMoveEvent. TheMemberMoveEventnew_channel_idhas been renamed tochannel_id.
- Renamed
Changed
- Player performance improvements.
- FFmpeg errors cleaned up.
- FFmpeg module refactor for readability.
- Frame storage buffer refactor for asynchronous performance.
- Enhanced type annotations.
- Removed undocumented voice gateway operation codes; debug logs sent when received.
- Heavy gateway connection refactor; easier to maintain and read.
Fixed
- Player history and queue system (unreliably populated via different methods).
- Player frame counter inconsistently reset, leading timestamp-based properties to be inaccurate on source change.
- Player now correctly resumes audio playback where it was paused without attempting to "catch up".
- Dramatically enhanced performance of internal audio buffer when clearing/switching sources.
- Player now plays previous audio if requested on
IDLE. - Incorrect annotated type of
MemberSpeechEvent.audio(bytes->list[bytes]). - Stale FFmpeg audio leaking into buffer after switching from a long source.
- FFmpeg no longer remains active after connection is severed (wasn't an issue unless using long sources).
- Disconnected if bot state changed other than channel deallocation.