Update README

This commit is contained in:
Lukas | AstroGD 2022-11-24 18:07:29 +01:00
parent dc6755eb19
commit 62aa05031f
Signed by: AstroGD
GPG Key ID: 82A5E6C236C535AA
2 changed files with 8 additions and 3 deletions

View File

@ -15,6 +15,9 @@ Adds the word to the server specific blocklist
#### /blocklist remove [word]
Removes the word from the server specific blocklist
### /info
Returns general information about the bot and the servers stats
## Environment variables
| Name | Description | Required | Example |
| :---------- | :------------------------------------------------------------ | :------: | :------------------ |

View File

@ -1,13 +1,15 @@
{
"name": "eu.astrogd.white-leopard",
"version": "1.0.0-alpha.4",
"version": "1.0.0-alpha.5",
"description": "A Discord bot that checks channel names for blacklisted words and reverts the changes if necessary",
"main": "build/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc && shx cp package-lock.json build/package-lock.json",
"deploy-dev": "ts-node ci/devDeploy.ts",
"start": "npm run build && npm run deploy-dev && docker-compose up --no-start && docker compose start database && node --enable-source-maps .",
"deploy-commands:dev": "ts-node ci/devDeploy.ts",
"deploy-commands:prod": "ts-node ci/deploy.ts",
"deploy:dev": "npm run build && npm run deploy-commands:dev && docker compose build && docker compose up -d",
"start": "npm run build && npm run deploy-commands:dev && docker-compose up --no-start && docker compose start database && node --enable-source-maps .",
"migration:create": "node --require ts-node/register ./node_modules/typeorm/cli.js migration:generate -d src/data/dataSource.ts -p src/data/migrations/data",
"migration:run": "node --require ts-node/register ./node_modules/typeorm/cli.js migration:run -d src/data/dataSource.ts",
"migration:revert": "node --require ts-node/register ./node_modules/typeorm/cli.js migration:revert -d src/data/dataSource.ts",