Compare commits
6 commits
b0407db9bb
...
b82e74bc68
Author | SHA1 | Date | |
---|---|---|---|
b82e74bc68 | |||
04b6c840cd | |||
e84f871329 | |||
a23028b40c | |||
915efc226e | |||
a56076e118 |
7 changed files with 16 additions and 93 deletions
27
.github/workflows/deployment.yml
vendored
27
.github/workflows/deployment.yml
vendored
|
@ -1,27 +0,0 @@
|
||||||
name: deployment
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Build and Test
|
|
||||||
uses: actions/setup-node@v1
|
|
||||||
with:
|
|
||||||
node-version: 16.x
|
|
||||||
- run: yarn install --frozen-lockfile
|
|
||||||
- run: yarn build
|
|
||||||
- name: Deploy Production
|
|
||||||
uses: D3rHase/ssh-command-action@v0.2.1
|
|
||||||
with:
|
|
||||||
HOST: ${{secrets.HOST}}
|
|
||||||
PORT: ${{secrets.PORT}}
|
|
||||||
USER: ${{secrets.USER}}
|
|
||||||
PRIVATE_SSH_KEY: ${{secrets.PRIVATE_SSH_KEY}}
|
|
||||||
COMMAND: ${{secrets.PROD_COMMAND}}
|
|
20
.github/workflows/integration.yml
vendored
20
.github/workflows/integration.yml
vendored
|
@ -1,20 +0,0 @@
|
||||||
name: integration
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- feature/*
|
|
||||||
- hotfix/*
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Build and Test
|
|
||||||
uses: actions/setup-node@v1
|
|
||||||
with:
|
|
||||||
node-version: 16.x
|
|
||||||
- run: yarn install --frozen-lockfile
|
|
||||||
- run: yarn build
|
|
||||||
- run: yarn test
|
|
27
.github/workflows/staging.yml
vendored
27
.github/workflows/staging.yml
vendored
|
@ -1,27 +0,0 @@
|
||||||
name: staging
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- develop
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Build and Test
|
|
||||||
uses: actions/setup-node@v1
|
|
||||||
with:
|
|
||||||
node-version: 16.x
|
|
||||||
- run: yarn install --frozen-lockfile
|
|
||||||
- run: yarn build
|
|
||||||
- name: Deploy Staging
|
|
||||||
uses: D3rHase/ssh-command-action@v0.2.1
|
|
||||||
with:
|
|
||||||
HOST: ${{secrets.HOST}}
|
|
||||||
PORT: ${{secrets.PORT}}
|
|
||||||
USER: ${{secrets.USER}}
|
|
||||||
PRIVATE_SSH_KEY: ${{secrets.PRIVATE_SSH_KEY}}
|
|
||||||
COMMAND: ${{secrets.STAGE_COMMAND}}
|
|
|
@ -6,7 +6,7 @@
|
||||||
"title": "Vylpes' Den",
|
"title": "Vylpes' Den",
|
||||||
"description": [
|
"description": [
|
||||||
"Welcome to Vylpes' Den! Make sure to say hi!",
|
"Welcome to Vylpes' Den! Make sure to say hi!",
|
||||||
"Invite link: https://discord.gg/UyAhAVp"
|
"Invite link: https://go.vylpes.xyz/A6HcA"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -70,19 +70,17 @@
|
||||||
"description": [
|
"description": [
|
||||||
"This server uses a bot made by me, VylBot, to help moderate the server.",
|
"This server uses a bot made by me, VylBot, to help moderate the server.",
|
||||||
"For more information on it, see the GitHub repositories:",
|
"For more information on it, see the GitHub repositories:",
|
||||||
"https://github.com/Vylpes/vylbot-core",
|
"https://gitea.vylpes.xyz/rabbitlabs/vylbot-app"
|
||||||
"https://github.com/Vylpes/vylbot-app"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "Links",
|
"title": "Links",
|
||||||
"description": [
|
"description": [
|
||||||
"YouTube: https://www.youtube.com/channel/UCwPlzKwCmP5Q9bCX3fHk2BA",
|
"YouTube: https://www.youtube.com/@vylpes",
|
||||||
"Patreon: https://www.patreon.com/vylpes",
|
"Patreon: https://www.patreon.com/vylpes",
|
||||||
"Twitch: https://www.twitch.tv/vylpes_",
|
"Twitch: https://www.twitch.tv/vylpes_",
|
||||||
"Twitter: https://twitter.com/vylpes",
|
"Twitter: https://twitter.com/vylpes"
|
||||||
"Blog: https://vylpes.xyz"
|
|
||||||
],
|
],
|
||||||
"footer": "Last updated 01/02/2022"
|
"footer": "Last updated 20/06/2023"
|
||||||
}
|
}
|
||||||
]
|
]
|
|
@ -33,11 +33,11 @@
|
||||||
"emoji-regex": "^10.0.0",
|
"emoji-regex": "^10.0.0",
|
||||||
"jest": "^29.0.0",
|
"jest": "^29.0.0",
|
||||||
"jest-mock-extended": "^3.0.0",
|
"jest-mock-extended": "^3.0.0",
|
||||||
"minimatch": "9.0.1",
|
"minimatch": "9.0.2",
|
||||||
"mysql": "^2.18.1",
|
"mysql": "^2.18.1",
|
||||||
"random-bunny": "^2.0.5",
|
"random-bunny": "^2.0.5",
|
||||||
"ts-jest": "^29.0.0",
|
"ts-jest": "^29.0.0",
|
||||||
"typeorm": "0.3.16"
|
"typeorm": "0.3.17"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^20.0.0",
|
"@types/node": "^20.0.0",
|
||||||
|
|
|
@ -2,7 +2,6 @@ import { CoreClient } from "./client/client";
|
||||||
import * as dotenv from "dotenv";
|
import * as dotenv from "dotenv";
|
||||||
import registry from "./registry";
|
import registry from "./registry";
|
||||||
import { IntentsBitField } from "discord.js";
|
import { IntentsBitField } from "discord.js";
|
||||||
import StringTools from "./helpers/StringTools";
|
|
||||||
|
|
||||||
dotenv.config();
|
dotenv.config();
|
||||||
|
|
||||||
|
|
16
yarn.lock
16
yarn.lock
|
@ -2168,10 +2168,10 @@ mimic-response@^3.1.0:
|
||||||
resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9"
|
resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9"
|
||||||
integrity sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==
|
integrity sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==
|
||||||
|
|
||||||
minimatch@9.0.1:
|
minimatch@9.0.2:
|
||||||
version "9.0.1"
|
version "9.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.1.tgz#8a555f541cf976c622daf078bb28f29fb927c253"
|
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.2.tgz#397e387fff22f6795844d00badc903a3d5de7057"
|
||||||
integrity sha512-0jWhJpD/MdhPXwPuiRkCbfYfSKp2qnn2eOc279qI7f+osl/l+prKSrvhg157zSYvx/1nmgn2NqdT6k2Z7zSH9w==
|
integrity sha512-PZOT9g5v2ojiTL7r1xF6plNHLtOeTpSlDI007As2NlA2aYBMfVom17yqa6QzhmDP8QOhn7LjHTg7DFCVSSa6yg==
|
||||||
dependencies:
|
dependencies:
|
||||||
brace-expansion "^2.0.1"
|
brace-expansion "^2.0.1"
|
||||||
|
|
||||||
|
@ -2783,10 +2783,10 @@ type-fest@^0.21.3:
|
||||||
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37"
|
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37"
|
||||||
integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==
|
integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==
|
||||||
|
|
||||||
typeorm@0.3.16:
|
typeorm@0.3.17:
|
||||||
version "0.3.16"
|
version "0.3.17"
|
||||||
resolved "https://registry.yarnpkg.com/typeorm/-/typeorm-0.3.16.tgz#a001d77b36cfaaf9ff495e15805dd17883116b7b"
|
resolved "https://registry.yarnpkg.com/typeorm/-/typeorm-0.3.17.tgz#a73c121a52e4fbe419b596b244777be4e4b57949"
|
||||||
integrity sha512-wJ4Qy1oqRKNDdZiBTTaVMqwo/XxC52Q7uNPTjltPgLhvIW173bL6Iad0lhptMOsFlpixFPaUu3PNziaRBwX2Zw==
|
integrity sha512-UDjUEwIQalO9tWw9O2A4GU+sT3oyoUXheHJy4ft+RFdnRdQctdQ34L9SqE2p7LdwzafHx1maxT+bqXON+Qnmig==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@sqltools/formatter" "^1.2.5"
|
"@sqltools/formatter" "^1.2.5"
|
||||||
app-root-path "^3.1.0"
|
app-root-path "^3.1.0"
|
||||||
|
|
Loading…
Reference in a new issue