Skip to main content
You are reading the docs for Arjex Music 1.0.0. The latest version is 1.1.0. Read the 1.1.0 docs. Protect credentials in your Arjex Music 1.0.0 configuration and restrict access to bot settings.

Protect credentials

  • Replace placeholder values in config/config.json with your own.
  • Never share config/config.json or the database folder after adding credentials. The config contains bot tokens and may contain Lavalink or Spotify secrets.
  • Keep admins short and use per-alias role controls for finer access.
  • The console does not print bot tokens.
  • Give each bot a unique token and matching application ID.
Use placeholders in shared examples, such as YOUR.BOT.TOKEN and 123456789012345678. The schema requires a token with three dot-separated segments; never publish a real token.

Restrict outbound downloads

The safeFetch protection blocks remote media and image downloads to private, loopback, or reserved addresses unless you explicitly allow a hostname. Redirects are checked again, and the connection is pinned to the validated address. Lavalink connections are not affected.

Outbound download settings

Review safeFetch.allowHosts.

Troubleshooting

Use startup validation messages to fix mistakes.