Allow users to save custom start and end points for any track.
Options persist in MySQL and auto-apply on playback — the player
seeks to the configured start time and skips when the end time is
reached. Supports pause/resume and manual seek with timer recalc.
Idea by noisy EVE
- Add seek duration validation — seeks beyond track length are rejected
with clear error showing max allowed position
- Add autoplay system with Last.fm similar tracks + YouTube search
fallback — automatically queues similar tracks when queue ends
- Add live progress bar to now playing with elapsed/total time display
- Add robust ffmpeg cleanup to prevent race conditions during
seek/skip/filter operations
- Add proper queue advancement after seek so bot stays in voice
- Add queueEnd event emission on skip/skipTo for autoplay trigger
- Add _lastPlayedTrack preservation for autoplay recommendations
- %leave now accepts an optional `channel` option; defaults to the
user's current voice channel when omitted
- Updated locale strings to describe the new behaviour and provide
clearer error messages (noVoiceChannel, specifyChannel, noPlayerInChannel)
fix(PlayerManager): improve voice-state resolution after reboot
- Added VoiceManager.voiceStates as a fallback lookup when
getVoiceChannelId() returns null on startup
- Multi-player guilds now check LiveKit remote participants to
determine which channel a user is actually in
- Filter out destroyed players when resolving guild player list
fix(PlayerManager): deduplicate Last.fm scrobble timers
- Added _pendingScrobbleTimers map to prevent duplicate scrobbles
when startplay fires multiple times for the same channel
- Timers are now properly cleared on song skip and player stop
fix(RecoveryManager): restore textChannel after reboot for 24/7 mode
- Spawned players after reboot now resolve an announcement channel
from server settings or the first available text channel, so song
announcements aren't silently dropped
fix(Player): remove unused worker semaphore and dead media-player code
- Removed _workerSemaphore / _workerQueue / _workerPool semaphore logic
- Removed no-op _setupMediaPlayerMonitoring and _cleanupMediaPlayer methods
- Removed unused spotifyConfig field
fix(CommandHandler): skip Flag instances during option processing
- presenceContents entries now accept plain strings (backwards
compatible) or rich objects with:
text — status text (required)
emoji_name — unicode emoji or custom emoji name
emoji_id — snowflake ID for custom guild emojis
activity — { name, type, url? } where type follows Fluxer
activity types (0=Playing 1=Streaming 2=Listening
3=Watching 5=Competing)
- Both index.mjs (initial presence on login) and
GatewayHandler.mjs (rotating presence loop) updated to resolve
each entry: builds custom_status from text/emoji fields and
appends activities[] if an activity object is provided
- Add presenceContents-Comment field to config_example.json
documenting the schema with three example entries (custom guild
emoji + Listening activity, unicode emoji, credits entry)
fix: safe-load storage/modules.json on startup
- index.mjs wrapped modules.json read in try/catch; logs a clear
warning and starts with an empty modules array instead of
crashing on ENOENT or malformed JSON
- MessageHandler pagination close handler was doing
embed.footer.text += ... unconditionally — throws
TypeError if the embed has no footer or footer.text
is not a string
- Now checks embed.footer exists and footer.text is a
string before appending; falls back to initialising
footer with just the closed label if not
- Add %lastfm leaderboard (alias: lb) command with paginated embed
showing top users ranked by scrobble count with 🥇🥈🥉 medals;
emoji reactions ◀️▶️❌ for navigation, auto-expires after timeout
- Add getLeaderboard() to LastFmManager: paginated query on
scrobble_count DESC from lastfm_users, returns entries/totalPages
- Add syncUserScrobbleCount(): syncs local counter from Last.fm
user.getinfo playcount; called on every %lastfm profile view
- Add _incrementScrobbleCount(): fire-and-forget increment of both
per-user scrobble_count and global stored_scrobbles after each
successful scrobble
- Add scrobble_count BIGINT column to lastfm_users with auto-migrate
ALTER TABLE for existing installs (error silently ignored if
column already exists)
- Add lastfm_stats table (single-row) tracking stored_scrobbles and
linked_users globally; row is seeded with INSERT IGNORE on init
- Add getStoredScrobbles() and getLinkedUsersCount() with lazy
in-memory caching for the stats row
- Add linked_users increment on first-time account link
- Show scrobble count and linked users in %stats embed when Last.fm
is enabled (fetched in parallel, non-blocking on initial reply)
- Add locale keys responses.stats.scrobbles and
responses.stats.linkedUsers to en, ar-SA, ckb, de-DE, pt-BR
- Add LastFmManager with full Last.fm API auth flow (get token →
user authorises → get session key stored in MySQL)
- Add %lastfm command (aliases: lf, lfm) with subcommands:
link, confirm, unlink, np, profile, loved, top, recent, scrobble
- Auto-scrobble in PlayerManager: sends now-playing notification to
all human voice-channel members on track start, then defers a
scrobble after the configured threshold (default 50% of duration
or 4 min, whichever comes first)
- Add lastfm config block to config_example.json (apiKey,
apiSecret, scrobbleThreshold, scrobbleMinMs)
- Add all Last.fm locale strings to storage/locales/bot/en.json
fix: show channel as Discord mention in inactivity leave message
- RecoveryManager: changed plain activeChannelId to
<#activeChannelId> so it renders as a clickable channel link