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.
- Node.js und npm müssen installiert sein
- PM2 muss installiert sein. Hier erfahren Sie, wie Sie PM2 installieren können
- Klone dieses Repository:
git clone https://github.com/devschlumpfi/Discord-Pm2-Manager
- Installiere die benötigten Node.js-Pakete:
npm install
- Erstelle eine
settings.json
Datei und konfiguriere sie nach deinen Bedürfnissen:{ "logsystem": true, "onlydm": false, "language": "de", "ownerids": ["OwnerID", "OwnerID2"] }
- Erstelle eine
.env
Datei und füge deinen Discord-Bot-Token hinzu:TOKEN=deinToken
- Starte den Bot:
node index.js
/pm2 list
: Listet alle PM2-Prozesse auf./pm2 manage
: Verwaltet einen PM2-Prozess mit der angegebenen ID.
- Automatisch aktualisierende Statusnachrichten hinzufügen
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.
- Node.js and npm must be installed
- PM2 must be installed. Learn how to install PM2 here
- Clone this repository:
git clone https://github.com/devschlumpfi/Discord-Pm2-Manager
- Install the required Node.js packages:
npm install
- Create a
settings.json
file and configure it according to your needs:{ "logsystem": true, "onlydm": false, "language": "en", "ownerids": ["OwnerID", "OwnerID2"] }
- Create a
.env
file and add your Discord bot token:TOKEN=yourToken
- Start the bot:
node index.js
/pm2 list
: Lists all PM2 processes./pm2 manage
: Manages a PM2 process with the specified ID.
- Add automatically updating status messages
This project is licensed under the MIT License - see the LICENSE file for details.