Configuration

Moonlit provides a few simple yet powerful configuration commands to help you personalize its behavior for your Discord server. These options let you control how the bot interacts, plays music, and manages its activity.

Prefix Configuration

  • View or change the bot’s command prefix:

    >prefix <new_prefix>

    Example:

    >prefix !

    To reset to the default prefix:

    >prefix reset

24/7 Mode

  • Keep Moonlit connected to the voice channel even when no music is playing. Enable 24/7 mode:

    >247 enable

    Disable 24/7 mode:

    >247 disable

Volume Configuration

  • Adjust the default playback volume (applies to all tracks).

    >volume <value>

    Example:

    >volume 70

    (Value range: 0–100)

Auto-Disconnect Behavior

  • When 24/7 mode is disabled, Moonlit will automatically leave the voice channel after a short period of inactivity. This is handled automatically and does not require configuration.


Note: All configuration commands require the Manage Server permission or equivalent administrative privileges. All settings are saved automatically and remain persistent after restarts.

Last updated