nexusfallout vor 3 Jahren
Ursprung
Commit
a95dd3a0ba
2 geänderte Dateien mit 18 neuen und 0 gelöschten Zeilen
  1. 1 0
      storagesize-bot/.env.example
  2. 17 0
      storagesize-bot/readme.md

+ 1 - 0
storagesize-bot/.env.example

@@ -0,0 +1 @@
+TOKEN=YOURTOKEN

+ 17 - 0
storagesize-bot/readme.md

@@ -0,0 +1,17 @@
+# Storage size notification bot for discord
+
+## Running the bot locally
+
+- Take a copy of .env.example and add token of the bot and rename to .env
+- `npm install`
+- `nodemon`
+
+## Deploying it
+
+- Take a copy of .env.example and add token of the bot and rename to .env
+- `npm install`
+- Use pm2 or any process managers to deploy
+  - `npm install pm2@latest -g`
+    or
+    `yarn global add pm2`
+  - pm2 start ./index.js