Skip to content

How to use it

Fuegovic edited this page Aug 27, 2023 · 5 revisions

Here is a list of commands and their functions:

πŸ“ž /ping

Ping the bot

  • Quickly assess the bot's latency, displayed in milliseconds.

🌐 /librechat

Explore LibreChat URLs

  • Instantly access key LibreChat resources, including GitHub, Documentation, Discord, and YouTube.

πŸ“‚ /path

Configure the LibreChat path

  • Set the path for the LibreChat folder.
  • Utilize either an absolute path format (e.g., C:\LibreChat) or a relative path format (relative to the bot folder, e.g., ../LibreChat).

βš™οΈ /env

Manage the .env file

  • Download: Retrieve a copy of the .env file from the LibreChat folder.
  • Upload: Replace the current .env file with a new one. A backup of the current file will be created. (You need to provide the file when calling /env)
  • Restore: Restore the backup of the .env file and delete the current one.
  • Example: Obtain the .env.example from the LibreChat folder.

🐳 /docker

Regular Docker commands

  • Start: Start the Docker container.
  • Stop: Stop the Docker container.
  • Update: Update the LibreChat server.
  • Status: Display the status of all Docker containers.

🐳 /docker-single

Docker commands for single-compose.yml (Same as the regular Docker commands but specific to the single-compose.yml configuration.)

  • Start: Start the Docker container.
  • Stop: Stop the Docker container.
  • Update: Update the LibreChat server.
  • Status: Display the status of all Docker containers.

πŸ’» /local

Commands for local LibreChat install

  • Start: Start the LibreChat server locally.
  • Stop: Stop the local LibreChat server.
  • Update: Update the local LibreChat server.

⚠️ Warning: When using this bot, exercise caution with command permissions. It is strongly recommended to limit bot command permissions to yourself or trusted individuals. We advise using the bot on a private discord server to minimize risks. This precaution is crucial as certain commands allow manipulating the .env file, and have the potential to expose sensitive API keys.