Commit Graph
100 Commits
Author SHA1 Message Date
NoLogicAlan 2b71e9c642 hotfix(better) 2026-09-22 02:05:29 +03:00
NoLogicAlan e74efdd3bf hotfix(better) 2026-09-22 01:48:53 +03:00
NoLogicAlan 0f3bc0f54d hotfix(better) 2026-09-22 01:24:13 +03:00
NoLogicAlan 3ea34c7f19 hotfix(better) 2026-09-19 03:32:48 +03:00
NoLogicAlan 2658402c39 hotfix 2026-09-19 02:28:41 +03:00
NoLogicAlan f9bb4d4c53 hotfix 2026-09-19 01:35:21 +03:00
NoLogicAlan 3647d273ce hotfix 2026-09-19 00:56:37 +03:00
NoLogicAlan 838b5e5f35 hotfix 2026-09-19 00:50:40 +03:00
NoLogicAlan ace92ed2ba hotfix 2026-09-19 00:37:48 +03:00
NoLogicAlan 0317b69298 hotfix 2026-09-19 00:29:32 +03:00
NoLogicAlan 717f08e869 hotfix 2026-09-19 00:27:19 +03:00
NoLogicAlan efb5ebfecf hotfix 2026-09-18 13:09:15 +03:00
NoLogicAlan 413a4fac40 hotfix 2026-09-18 13:06:11 +03:00
NoLogicAlan 3982aa4874 hotfix 2026-09-18 12:50:22 +03:00
NoLogicAlan ae3bb9a5cb hotfix 2026-09-18 12:38:41 +03:00
NoLogicAlan c0a30b0309 hotfix 2026-09-18 03:59:21 +03:00
NoLogicAlan 16ed58a9af hotfix 2026-09-18 03:24:29 +03:00
NoLogicAlan 44fdf86962 now we can play Bilibili source Shanghai. 2026-09-17 03:25:28 +03:00
NoLogicAlan ef8390b6ca now we can play Bilibili source Shanghai. 2026-09-17 02:51:37 +03:00
NoLogicAlan 93ccca18e3 ... 2026-09-17 01:59:19 +03:00
NoLogicAlan 3a29d15842 added: ping command 2026-09-17 01:03:40 +03:00
NoLogicAlan 9742288bf3 added: ping command 2026-09-17 00:54:12 +03:00
NoLogicAlan 34dc71fc69 idk 2026-09-16 04:01:08 +03:00
NoLogicAlan 200e327ec7 hotfix 2026-09-16 03:25:53 +03:00
NoLogicAlan 990cc68100 hotfix 2026-09-16 03:15:16 +03:00
NoLogicAlan 8cd0384f75 hotfix 2026-09-16 02:52:09 +03:00
NoLogicAlan 5558cf8282 hotfix 2026-09-16 02:35:47 +03:00
NoLogicAlan 3a72e46775 hotfix 2026-09-16 02:15:56 +03:00
NoLogicAlan 8a8925653c hotfix/added restore queue/added some good stuff to/removing some stuff to 2026-09-16 02:02:29 +03:00
NoLogicAlan ca98dc11aa hotfix 2026-09-15 04:06:17 +03:00
NoLogicAlan 748eafaf43 hotfix 2026-09-15 03:19:34 +03:00
NoLogicAlan f1c87d410d hotfix 2026-09-15 03:06:23 +03:00
NoLogicAlan 54d09d1b64 hotfix 2026-09-14 04:19:37 +03:00
NoLogicAlan b0f816e60b hotfix 2026-09-14 04:05:33 +03:00
NoLogicAlan 207c60ceec hotfix 2026-09-13 02:30:47 +03:00
NoLogicAlan cc0b438ef6 added: Vote-to-skip 2026-09-13 01:21:36 +03:00
NoLogicAlan e315cfbc1d no more multi voice 2026-09-13 01:14:07 +03:00
NoLogicAlan 0107e745d3 Add "bot busy in another voice channel" warning 2026-09-12 03:11:23 +03:00
NoLogicAlan 771b005d7e ... 2026-09-12 01:21:05 +03:00
NoLogicAlan e0994dfbc2 ... 2026-09-11 12:18:42 +03:00
NoLogicAlan 7f1d076902 ... 2026-09-11 03:57:06 +03:00
NoLogicAlan fefe490c60 ... 2026-09-11 03:06:38 +03:00
NoLogicAlan 884018a6d1 ... 2026-09-11 03:03:50 +03:00
NoLogicAlan ea05777390 ... 2026-09-11 02:34:49 +03:00
NoLogicAlan 00df253588 ... 2026-09-11 02:05:31 +03:00
NoLogicAlan 85c4bf4e8d ... 2026-09-11 01:47:38 +03:00
NoLogicAlan f073b78449 ... 2026-09-11 00:56:24 +03:00
NoLogicAlan 3ef54117bb bye 2026-09-10 03:02:51 +03:00
NoLogicAlan 35aab94a53 leave/247 flows behave correctly end-to-end — channel mentions render as proper #channel links 2026-09-10 02:43:55 +03:00
NoLogicAlan 774d188757 FIXED 2026-09-10 02:13:17 +03:00
NoLogicAlan a188fa0b62 FIXED 2026-09-10 01:50:48 +03:00
NoLogicAlan de49a47480 test 2026-09-09 02:14:44 +03:00
NoLogicAlan 253d11cd57 Remix — the complete rewrite
Upgrades the bot from fluxerjs 2.2 to 3.0 and restructures everything
into a layered architecture (~28K lines):

Dependencies:
- @fluxerjs/core, util, voice: ^2.2.0 -> ^3.0.0 (typed events,
  PartialMessage payloads, camelCase API)
- @fluxerjs/sharding ^3.0.0 added — built-in sharding mode
  (shard.mjs, one process per shard)
- @discordjs/opus dropped — opusscript + prism-media cover encoding

Architecture:
- commands: every command split into submodules (player, lastfm,
  settings, debug) with a shared CommandBuilder/Loader/Handler core
- ui: embeds, paginators, help command, permission checks
- voice: gateway event routing, rejoin/247 boot recovery, state resolver
- music: player split into Queue/Search/Playback/Display mixins,
  stream pipeline + WebM/Opus muxer (no FFmpeg needed)
- dashboard: Redis pub/sub, RPC handlers, serializers
- db: MySQL manager + per-guild settings
- services: LastFm manager split into focused mixins
- utils: sharding, 24/7 helpers, API client

Runtime fixes over v2:
- Redis v5 reconnect: capped numeric backoff (0.5s ramp to 15s),
  never exhausts, auto-recovers when the server comes back
- Redis main/subscriber clients connect in parallel; clean shutdown
- Logger storm guard: identical error/warn lines deduped in a 60s window
- self-deaf fix on voice join
- config example uses redis://127.0.0.1 (avoids IPv6 ENETUNREACH)

Housekeeping: dead code removed (Tuna.mjs + follow-redirects dep),
.gitignore added (config.json, .env, node_modules, runtime state).
2026-09-09 02:04:33 +03:00
NoLogicAlan 0f085a6ae4 ...little changes 2026-09-04 20:40:04 +03:00
NoLogicAlan bdf7221366 ...little changes 2026-09-04 19:51:02 +03:00
NoLogicAlan 7bc286776f ...little changes 2026-09-04 19:03:10 +03:00
NoLogicAlan 74fa8da4eb ...test 2026-09-04 03:28:20 +03:00
NoLogicAlan 9e67bcce25 ...test 2026-09-04 03:07:07 +03:00
NoLogicAlan fa05407166 ...test 2026-09-04 02:55:07 +03:00
NoLogicAlan fe5f0e8d8c ...test 2026-09-04 02:47:44 +03:00
NoLogicAlan 6ba7b33a05 ... 2026-09-04 02:42:54 +03:00
NoLogicAlan e529114c31 ... 2026-09-02 01:45:45 +03:00
NoLogicAlan 0f0f6ac090 ... 2026-09-02 01:07:03 +03:00
NoLogicAlan 9d449c7a14 ... 2026-09-02 01:02:24 +03:00
NoLogicAlan e435af7eb2 ... 2026-09-02 00:56:14 +03:00
NoLogicAlan 20cc1bcafb ... 2026-09-01 03:08:12 +03:00
NoLogicAlan 4af65b4a1a ... 2026-09-01 03:00:09 +03:00
NoLogicAlan d2b531edc0 ... 2026-09-01 02:57:14 +03:00
NoLogicAlan 250066da8b ... 2026-09-01 02:43:24 +03:00
NoLogicAlan a5d24dfc93 some change 2026-09-01 02:31:53 +03:00
NoLogicAlan 715f2afb61 fixed 2026-09-01 01:00:46 +03:00
NoLogicAlan a9d6fda60b fix: playback and MP3 radio without FFmpeg 2026-08-31 04:01:46 +03:00
NoLogicAlan 0c1f9adb12 EventEmitter memory leak detected 2026-08-29 11:48:49 +03:00
NoLogicAlan a6ac14aff1 fixed 2026-08-29 01:42:44 +03:00
NoLogicAlan 9fb2e7255e oops 2026-08-28 23:52:14 +03:00
NoLogicAlan e11fca151c no comment still working on it 2026-08-28 23:51:20 +03:00
NoLogicAlan cea0014e18 we need this 2026-08-23 03:40:54 +03:00
NoLogicAlan 5ff380f0c9 why this 2026-08-23 03:37:43 +03:00
NoLogicAlan e7b706323b and this 2026-08-23 03:10:32 +03:00
NoLogicAlan b597964b76 idk 2026-08-19 02:43:34 +03:00
NoLogicAlan 42011a7e70 idk 2026-08-18 11:30:45 +03:00
NoLogicAlan 8974fd34df idk 2026-08-18 11:24:20 +03:00
NoLogicAlan f3051e0c1d Fix audio teardown during track skips
- Unpublish old LiveKit audio tracks before starting the next MediaPlayer
- Use track SID when calling rtc-node unpublishTrack to avoid FFI panics
- Close local audio track/source during teardown
- Suppress expected FFmpeg SIGKILL errors from intentional skips/stops
- Reuse shared media teardown path for next-track transitions
2026-08-15 11:48:16 +03:00
NoLogicAlan 4e8fa8554e testing 2026-08-14 12:33:20 +03:00
NoLogicAlan 841042ec4d testing 2026-08-14 02:07:19 +03:00
NoLogicAlan 50ac37de13 fix: correct client cache config, remove dead intents, clean up comments & JSDoc 2026-08-11 03:22:58 +03:00
NoLogicAlan 53a5016702 test 2026-08-11 02:43:05 +03:00
NoLogicAlan 349cd26729 we are fluxerjs 2.2.0 :P 2026-08-11 02:38:03 +03:00
NoLogicAlan d667457881 fix(player): detect early stream errors and report them instead of silently advancing 2026-06-25 16:15:10 +03:00
NoLogicAlan 3415d91090 test 2026-06-23 02:41:19 +03:00
NoLogicAlan cea77295ec fix(player): fall back to loadstream when trackstream returns 403 2026-06-22 22:02:28 +03:00
NoLogicAlan 9262b31b25 perf: reduce alone-check 2026-06-22 21:43:57 +03:00
NoLogicAlan 4cf6952704 perf(player): use trackstream instead of loadstream for normal playback 2026-06-22 21:30:21 +03:00
NoLogicAlan 771a4a0c50 perf(player): add -re flag to FFmpeg to prevent RAM buildup on long songs 2026-06-22 21:20:11 +03:00
NoLogicAlan 6f2797c0ee fix(player): _seeking flag leak blocking auto-advance after seek 2026-06-22 17:11:12 +03:00
NoLogicAlan 390c4b4e7d oops 2026-06-21 22:52:40 +03:00
NoLogicAlan a08f2b0792 fix(player): schedule 24/7 rejoin directly from disconnect handler 2026-06-21 22:49:57 +03:00
NoLogicAlan 0d92ba04fa refactor(debug): rewrite for correctness, state preservation, readability 2026-06-21 21:40:07 +03:00
NoLogicAlan 23505457fa fix(gateway): auto-rejoin voice on WS-drop-induced disconnects
Previously, only 24/7-auto channels would auto-rejoin after a voice
disconnect. Every other channel would emit autoleave and the bot
would leave voice — even when the disconnect was caused by a transient
WS reconnect, not a user action.

Now the bot tracks when Events.Ready last fires (initial login + every
reconnect). When a voice disconnect is detected within 30s of a Ready
event, it's treated as WS-induced and the bot auto-rejoins the channel
using the same cleanup + schedule rejoin logic as 24/7-auto mode,
regardless of the channel's 24/7 setting.

User-initiated leaves (not preceded by a WS reconnect) still emit
autoleave as before.
2026-06-21 21:24:03 +03:00
NoLogicAlan 799b527467 feat: add Docker support — Dockerfile, docker-compose, entrypoint 2026-06-21 21:14:36 +03:00