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
2026-05-06 17:26:37 +03:00
2026-05-06 18:16:13 +03:00
2026-04-14 02:23:18 +03:00

Remix Logo

Remix

A premium, high-quality, and open-source music bot for Fluxer.

Invite to Server · Report a Bug · Request a Feature

License Fluxer Bot revoice.js Maintained


🎵 About The Project

Remix is a free and open-source music bot for Fluxer, built using fluxerjs and powered by revoice.js for seamless, high-quality audio playback. We believe music features shouldn't be locked behind paywalls—all commands on Remix are 100% free and always will be.

🚀 Getting Started

Want to use Remix in your server right away?

  1. Invite Remix to your Fluxer server.
  2. Join a voice channel.
  3. Use the %help command to see everything the bot can do, or jump straight in with %play <song name>.

📜 Commands

Below is a complete list of Remix's commands. The default prefix is %.

Command Description Usage Example Aliases
play Play a song from a URL/query, or a playlist. %play Never Gonna Give You Up p
playnext Play a song/playlist, adding it to the top of the queue. %playnext 'query: text' pn
pause Pause the current playback. %pause
resume Resume the paused playback. %resume
skip Skip the currently playing song. %skip
list View the upcoming queue for your voice channel. %list queue
np See the name and URL of the currently playing song. %np current, nowplaying
loop Toggle looping for the current song or the whole queue. %loop queue
shuffle Re-orders the queue randomly. %shuffle
remove Remove a specific song from the queue by its index number. %remove 3
clear Remove all songs from the queue. %clear c
volume Change the volume of the bot. %volume 50 v
join Make the bot join a specific voice channel. %join 123456789
leave Make the bot leave your current voice channel. %leave l
player Create an interactive emoji player control panel. %player
search Display search results for a given query to choose from. %search 'query'
settings Change or view bot settings for the current server. %settings set s
stats Display bot statistics, like uptime and ping. %stats info
thumbnail Get the thumbnail image of the currently playing song. %thumbnail thumb
test A developer testing command. %test 1

🛠️ Self-Hosting The Bot

If you prefer to host Remix yourself, please note: You must make it clear that your bot is an instance of Remix. Please change the bot's name and give credit in the bot's profile (e.g., "Powered by Remix").

Prerequisites

  • Node.js installed
  • A MySQL Database
  • A NodeLink instance

Installation

  1. Clone the repository:

    git clone https://github.com/remix-bot/fluxer.git
    cd fluxer
    
  2. Install dependencies:

    npm install
    
  3. Configure the bot:

    • Rename config.example.json to config.json.
    • Fill out the missing values (Bot Token, DB credentials, etc.).
    • Note: You can generate Spotify credentials here.
    • Configure your NodeLink instance inside the config.json file:
      "nodelink": {
        "host": "localhost",
        "port": 3000,
        "password": "youshallnotpass"
      }
      
  4. Setup the Database: (See instructions below)

  5. Start the bot:

    node index.mjs
    

🗄️ Database Setup

Remix requires a MySQL database to function properly.

  1. Create a dedicated database for Remix to prevent data collisions with other apps.

  2. Enter your MySQL connection details into config.json.

  3. Run the following SQL query to create the necessary tables:

    CREATE TABLE `settings` (
      `id` varchar(70) NOT NULL,
      `data` json NOT NULL
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
    

(Note: If you used the legacy settings system and want to migrate your data, please check the README inside the settings folder).


💬 Contact & Support

If you have any questions, need help setting up, or just want to hang out with other Remix users, join our official Fluxer server:

👉 Join the Remix Support Server


© 2026 Remix. Code licensed under the MIT License.
The Remix name, logo, and branding are proprietary and may not be reused.

S
Description
Remix Fluxer music bot - mirrored from github.com/remix-bot/fluxer for Unraid Docker self-hosting
Readme MIT
4 MiB
0 Stars 1 Watchers 0 Forks
Languages
JavaScript 99.9%