Commit Graph
33 Commits
Author SHA1 Message Date
NoLogicAlan db0ca569ee hotfix 2026-05-16 23:20:05 +03:00
NoLogicAlan e966b6ce20 hotfix 2026-05-16 22:03:22 +03:00
NoLogicAlan 6fa8f3b540 lots of changes 2026-05-16 20:30:56 +03:00
NoLogicAlan b75ea56ca9 hotfix 2026-05-16 17:56:39 +03:00
NoLogicAlan 082cdbc3b1 oops 2026-05-16 17:46:37 +03:00
NoLogicAlan 68938e0d29 hotfix for VoiceStateCache.mjs 2026-05-16 17:43:36 +03:00
ShadowLp174 ba20ae8669 fixed server redis request handling 2026-05-16 14:10:42 +00:00
ShadowLp174 dc238213c5 fetch all guilds instead of using GuildManager 2026-05-14 12:16:33 +00:00
NoLogicAlan 5183f41862 feat: voice joins with FluxerRevoice adapter 2026-05-11 20:57:19 +03:00
NoLogicAlan 7662cbb944 lots of stuff noo need to say it lol 2026-05-08 22:55:23 +03:00
NoLogicAlan 57912539a9 lots of stuff noo need to say it lol 2026-05-08 21:29:32 +03:00
NoLogicAlan 009ec31dd8 dashboard works 2026-05-08 03:00:20 +03:00
NoLogicAlan 777c610b55 dashboard works 2026-05-08 02:40:50 +03:00
NoLogicAlan 8a55431eec dashboard works 2026-05-08 02:26:19 +03:00
NoLogicAlan 624d00cff6 dashboard works 2026-05-08 01:48:24 +03:00
NoLogicAlan 28891e2f90 dashboard works 2026-05-08 01:15:30 +03:00
NoLogicAlan f8e5275422 dashboard works 2026-05-08 00:51:17 +03:00
NoLogicAlan 7e0892bdca dashboard works 2026-05-08 00:39:28 +03:00
NoLogicAlan c2a4901cf7 dashboard 2026-05-08 00:30:29 +03:00
NoLogicAlan 09580cebf5 dashboard 2026-05-08 00:16:14 +03:00
NoLogicAlan 37c29ca6cd dashboard tests 2026-05-07 23:42:19 +03:00
NoLogicAlan 9366bbe95a test 2026-05-07 23:24:45 +03:00
NoLogicAlan 3ea4ac660e test 2026-05-07 22:52:16 +03:00
NoLogicAlan 87f099cc6e test 2026-05-07 20:05:28 +03:00
NoLogicAlan 51ce41cf2b test 2026-05-07 16:31:20 +03:00
NoLogicAlan 991045f4dd fix: resolve startup crashes from missing exports, unsafe JSON parsing, and broken migrate/dashboard logic
Full rework and bugfix pass across the fluxer codebase to resolve
multiple runtime crashes that prevented the bot from starting and
loading guild settings correctly.

Export/Import Fixes:
- Added re-export of SettingsManager from settings/Settings.mjs
  into src/Settings.mjs to resolve missing named export error
  that crashed the bot on startup (affected CommandHandler,
  PlayerManager, and migrate.mjs)
- Verified all 70+ import/export chains across the entire project

JSON.parse Safety (mysql2 JSON column handling):
- src/Settings.mjs — added typeof guard before JSON.parse on
  RemoteSettingsManager.load() since mysql2 returns JSON columns
  as already-parsed objects, causing "[object Object]" SyntaxError
- settings/Settings.mjs — same typeof guard applied
- src/GatewayHandler.mjs — same typeof guard applied

Migrate Script Fix:
- settings/migrate.mjs — replaced abstract SettingsManager usage
  with concrete RemoteSettingsManager (which actually has the
  `guilds` property required for migration logic)

Dashboard Fix:
- src/dashboard/Dashboard.mjs — added missing reply() method to
  fakeMsg object so PlayerManager.initPlayer() doesn't crash when
  a user joins voice through the web dashboard

Files changed (13):
- src/Settings.mjs
- settings/Settings.mjs
- src/GatewayHandler.mjs
- settings/migrate.mjs
- src/dashboard/Dashboard.mjs
- src/CommandHandler.mjs
- src/PlayerManager.mjs
- src/MoonlinkManager.mjs
- src/Player.mjs
- src/RecoveryManager.mjs
- src/constants/audio/StreamMerger.mjs
- src/constants/audio/Tuna.mjs
- commands/remove.mjs
2026-05-06 23:33:57 +03:00
NoLogicAlan 5e0aefb79d oop 2026-05-06 18:47:12 +03:00
NoLogicAlan 5c2dcac509 dispatched 2026-05-06 18:41:27 +03:00
NoLogicAlan 77b6a40d69 test 2026-05-06 17:57:30 +03:00
NoLogicAlan 33ff2632f9 test 2026-05-06 17:26:37 +03:00
NoLogicAlan 85f11fe34b fix: migrate all commands & src to @fluxerjs native API
- Replace replyEmbed/sendEmbed/editEmbed with reply/send/edit
  across all 33 command files and 5 src/ files
- Remove unnecessary .toJSON() on EmbedBuilder (Fluxer auto-converts)
- Fix voice channel type checks: channel_type === "VoiceChannel" → type === 2
- Add missing edit() and send() methods to Message/ChannelContext wrappers
- Fix filter command: reactions now update per page on navigation

Closes channel cache crash (guild.channels.cache.keys undefined)
2026-05-05 20:09:25 +03:00
NoLogicAlan 19820e7209 lets see 2026-05-05 18:32:51 +03:00
NoLogicAlan a4991d7047 feat(dashboard): implement redis-backed database and player integration 2026-05-04 20:21:00 +03:00