Skip to content

🚀 Discord-Pm2-Manager: A Discord bot designed to control your Node.js applications with PM2 directly from Discord. Multilingual and user-friendly!

License

Notifications You must be signed in to change notification settings

devschlumpfi/Discord-Pm2-Manager

Repository files navigation

Discord-Pm2-Manager

🇩🇪 Deutsche Version

Beschreibung

Der Discord-Pm2-Manager ist ein Discord-Bot, entwickelt um PM2-Prozesse direkt über Discord zu verwalten. Mit diesem Bot können Sie PM2-Prozesse starten, stoppen, neustarten, löschen und Logs anzeigen.

Voraussetzungen

Installation

  1. Klone dieses Repository: git clone https://github.com/devschlumpfi/Discord-Pm2-Manager
  2. Installiere die benötigten Node.js-Pakete: npm install
  3. Erstelle eine settings.json Datei und konfiguriere sie nach deinen Bedürfnissen:
    {
        "logsystem": true,
        "onlydm": false,
        "language": "de",
        "ownerids": ["OwnerID", "OwnerID2"]
    }
  4. Erstelle eine .env Datei und füge deinen Discord-Bot-Token hinzu: TOKEN=deinToken
  5. Starte den Bot: node index.js

Befehle

  • /pm2 list: Listet alle PM2-Prozesse auf.
  • /pm2 manage: Verwaltet einen PM2-Prozess mit der angegebenen ID.

Demonstration

Bild 1 Bild 2

To-Do Liste

  • Automatisch aktualisierende Statusnachrichten hinzufügen

🇬🇧 English Version

Description

The Discord-Pm2-Manager is a Discord bot developed to manage PM2 processes directly through Discord. With this bot, you can start, stop, restart, delete, and view logs of PM2 processes.

Prerequisites

Installation

  1. Clone this repository: git clone https://github.com/devschlumpfi/Discord-Pm2-Manager
  2. Install the required Node.js packages: npm install
  3. Create a settings.json file and configure it according to your needs:
    {
        "logsystem": true,
        "onlydm": false,
        "language": "en",
        "ownerids": ["OwnerID", "OwnerID2"]
    }
  4. Create a .env file and add your Discord bot token: TOKEN=yourToken
  5. Start the bot: node index.js

Commands

  • /pm2 list: Lists all PM2 processes.
  • /pm2 manage: Manages a PM2 process with the specified ID.

Demonstration

Image 1 Image 2

To-Do List

  • Add automatically updating status messages

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgements

About

🚀 Discord-Pm2-Manager: A Discord bot designed to control your Node.js applications with PM2 directly from Discord. Multilingual and user-friendly!

Resources

License

Stars

Watchers

Forks

Packages

No packages published