NoLogicAlan
20813bd1ff
hot fix
2026-06-20 18:44:55 +03:00
NoLogicAlan
fbf725d29f
refactor: codebase cleanup + critical player state bug fixes
2026-06-20 17:36:29 +03:00
NoLogicAlan
dbe1c46dc5
hotfix /testing
2026-06-17 03:26:46 +03:00
NoLogicAlan
b7252fccaf
little changes
2026-06-16 22:34:11 +03:00
NoLogicAlan
862f326996
hotfix ( idk )
2026-06-16 04:24:47 +03:00
NoLogicAlan
092268281a
refactor: centralize shared utilities, fix voice intent, and improve error visibility
...
- extract `cleanId()` to `Utils.mjs` and remove 97+ inline `String(x).replace(/\D/g, "")` duplicates
- add `VoiceStateResolver.mjs` with `iterateVoiceStates`, `hasHumansInChannel`, `getChannelsWithHumans` — eliminates 12+ duplicated voice-state-iteration blocks across `Player`, `PlayerManager`, `GatewayHandler`, `Dashboard`
- add `UI.mjs` for shared color, emoji, and timeout constants
- move `parseInlineProvider` to `providers.mjs`, `getMessageGuildId` to `MessageHandler.mjs`
- fix `VoiceStateCache.removeGuild` and `TrackOptionsManager` cache deletion mutating Maps during iteration
- fix `checkVoiceChannels` now async returning `{channelId, alreadyInVoice, hasHumans}` — all callers updated
- fix `FluxerRevoice` global `console.log` monkey-patch replaced with scoped `withSuppressedLiveKitLogs(fn)`
- fix `Player._get247Mode()` settings resolution chain
- fix `runnables.mjs` validators were no-ops
- promote `Player` magic numbers to named static constants
- replace all silent `catch (_) {}` with `logger.warn()` throughout
- remove unused deps: `express`, `genius-lyrics`, `ws`
- add `@file` JSDoc headers to all modules
2026-06-15 16:56:10 +03:00
NoLogicAlan
9efdb216af
fixed
2026-06-02 18:17:31 +03:00
NoLogicAlan
441eb4406e
ahm
2026-05-31 16:58:42 +03:00
NoLogicAlan
ba479e4c04
refactor: centralize prefix resolution into CommandHandler
...
Replace all scattered prefix lookups across the codebase with a single
source of truth: CommandHandler.getPrefix(guildId).
2026-05-31 15:02:18 +03:00
NoLogicAlan
b581722c46
fix: resolve bugs in voice, filter, dashboard, and stats handling
...
- Fix filter command using stale track reference instead of current queue track
- Fix playnext null check before editing status message
- Fix join command using raw channel ID before cleaning it
- Fix GatewayHandler passing wrong isBot flag in voice state cache
- Fix Dashboard shared server filtering (was returning empty, now filters correctly)
- Fix avatar fallback using discriminator (deprecated) → use user ID instead
- Refactor Player.mjs: extract ConnectionState/LKRoomEvent to FluxerRevoice constants
- Refactor Player.mjs: replace local formatMsHelper with Utils.prettifyMS
- Add Logger.guild() method; use it in GatewayHandler instead of logger.info()
- Remove rbl-stats module from modules.json
- Remove unused empty event listeners in PlayerManager
- Remove unused CRITICAL_PERMISSIONS import from GatewayHandler
2026-05-25 19:22:20 +03:00
NoLogicAlan
f86f0c5f8b
testing
2026-05-24 17:31:20 +03:00
NoLogicAlan
10f8a1d91e
missing part
2026-05-22 15:56:14 +03:00
NoLogicAlan
489c1458b1
fixed
2026-05-21 19:05:52 +03:00
NoLogicAlan
3d8b5b3ae6
testing
2026-05-21 18:58:57 +03:00
NoLogicAlan
998040d33a
fixing
2026-05-21 18:51:37 +03:00
NoLogicAlan
2ee4a0a86d
fixing
2026-05-21 18:44:31 +03:00
NoLogicAlan
6bbaf49a94
feat(player): per-track custom start/end trimming
...
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
2026-05-21 17:43:48 +03:00
NoLogicAlan
0f2ee99f1e
Add seek validation, autoplay system, progress bar & codebase cleanup
...
- 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
2026-05-21 02:04:05 +03:00
NoLogicAlan
bc1fe82919
cleannnn
2026-05-20 22:32:39 +03:00
NoLogicAlan
dc0184b0c0
feat: add Last.fm URL support and improve track search accuracy
...
- Add Last.fm URL parsing to %play command (e.g. %play https://last.fm/music/Drake/_/Make+Them+Cry )
- Add freeform Last.fm search via %play lastfm:<query> (e.g. %play lastfm:soda pop)
- Pass trackMeta through Player.play() for accurate scrobbling from Last.fm results
- Improve searchTrack() scoring to penalize non-song results (lyric videos, official videos, covers, remixes)
- Penalize label/production company artists (e.g. "Sony Pictures Animation") in search results
- Penalize quoted track names (e.g. "Soda Pop" Official Lyric Video)
- Prefer clean /music/Artist/_/Track URL format in Last.fm search ranking
2026-05-19 18:40:49 +03:00
NoLogicAlan
b5a94a4f60
hotfix - somechanges
2026-05-18 21:50:48 +03:00
NoLogicAlan
f6bc1db447
lol rollbackkk
2026-05-18 02:09:48 +03:00
NoLogicAlan
3c76573c62
testing skip
2026-05-18 02:08:41 +03:00
NoLogicAlan
0890a643be
testing skip
2026-05-18 02:00:56 +03:00
NoLogicAlan
5050ce237c
fixed
2026-05-18 01:58:24 +03:00
NoLogicAlan
299ee6e692
fixed
2026-05-18 01:50:06 +03:00
NoLogicAlan
092dbc15a1
fixed
2026-05-18 01:47:19 +03:00
NoLogicAlan
e74edfd95d
fixed
2026-05-18 01:43:08 +03:00
NoLogicAlan
722bda62c3
fixed
2026-05-18 01:42:59 +03:00
NoLogicAlan
288676937e
hotfix spam end
2026-05-18 00:35:59 +03:00
NoLogicAlan
bb440c7107
no idea
2026-05-17 17:13:42 +03:00
NoLogicAlan
28fc86103c
hotfix
2026-05-16 20:50:21 +03:00
NoLogicAlan
6fa8f3b540
lots of changes
2026-05-16 20:30:56 +03:00
NoLogicAlan
ba225c914a
fixed
2026-05-16 18:39:00 +03:00
NoLogicAlan
d53cfd88d6
test
2026-05-16 18:34:00 +03:00
NoLogicAlan
68938e0d29
hotfix for VoiceStateCache.mjs
2026-05-16 17:43:36 +03:00
NoLogicAlan
7fadc67ee4
hotfix :P
2026-05-16 16:48:58 +03:00
NoLogicAlan
ee460d03ff
:)
2026-05-16 14:37:33 +03:00
NoLogicAlan
0f526c2d38
... testing
2026-05-14 22:47:34 +03:00
NoLogicAlan
84c2bc0aca
...
2026-05-14 21:57:08 +03:00
NoLogicAlan
d92cfb6e28
hotfix(rollback to)
2026-05-14 21:47:41 +03:00
NoLogicAlan
7cf97b0aed
hotfix
2026-05-14 21:24:29 +03:00
NoLogicAlan
2c9a124d47
hotfix
2026-05-14 21:13:07 +03:00
NoLogicAlan
0f40ee2ba8
better log for LiveKit
2026-05-14 20:43:44 +03:00
NoLogicAlan
7096602d9c
(hotfix)cleaning up
2026-05-14 20:08:10 +03:00
NoLogicAlan
3c14f04756
rollllbackkk
2026-05-14 17:18:16 +03:00
NoLogicAlan
fab2d51681
hotfix
2026-05-14 17:04:20 +03:00
NoLogicAlan
4a62defe1b
hotfix
2026-05-14 16:59:23 +03:00
NoLogicAlan
fdd3789898
idk is that work
2026-05-14 16:15:29 +03:00
NoLogicAlan
506d3c4cf8
hotfix
2026-05-14 15:36:29 +03:00