Merge branch 'ZynerOrg:dev' into dev

This commit is contained in:
Axel Olausson Holtenäs 2022-07-05 01:37:09 +02:00 committed by GitHub
commit 98706ff066
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -34,7 +34,7 @@
"chance": "^1.1.8", "chance": "^1.1.8",
"common": "^0.2.5", "common": "^0.2.5",
"crypto": "^1.0.1", "crypto": "^1.0.1",
"discord-api-types": "^0.34.0", "discord-api-types": "^0.36.0",
"discord.js": "^13.6.0", "discord.js": "^13.6.0",
"i18n": "^0.15.0", "i18n": "^0.15.0",
"i18next": "^21.6.13", "i18next": "^21.6.13",
@ -57,15 +57,15 @@
"@types/uuid": "^8.3.4", "@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.15.0", "@typescript-eslint/eslint-plugin": "^5.15.0",
"@typescript-eslint/parser": "^5.15.0", "@typescript-eslint/parser": "^5.15.0",
"eslint": "8.18.0", "eslint": "8.19.0",
"eslint-config-airbnb-base": "15.0.0", "eslint-config-airbnb-base": "15.0.0",
"eslint-config-prettier": "8.5.0", "eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0", "eslint-plugin-import": "2.26.0",
"eslint-plugin-no-loops": "^0.3.0", "eslint-plugin-no-loops": "^0.3.0",
"eslint-plugin-prettier": "^4.0.0", "eslint-plugin-prettier": "^4.0.0",
"husky": "8.0.1", "husky": "8.0.1",
"jest": "28.1.1", "jest": "28.1.2",
"lint-staged": "13.0.1", "lint-staged": "13.0.3",
"nodemon": "^2.0.16", "nodemon": "^2.0.16",
"prettier": "^2.6.0" "prettier": "^2.6.0"
}, },

View file

@ -7,7 +7,7 @@ import logger from "../../logger";
// Configuration // Configuration
import { url } from "../../config/database"; import { url } from "../../config/database";
export const start = async () => { export const connect = async () => {
await mongoose await mongoose
.connect(url) .connect(url)
.then(async (connection) => { .then(async (connection) => {

View file

@ -6,7 +6,7 @@ import * as event from "./event";
import * as command from "./command"; import * as command from "./command";
export const start = async (client: Client) => { export const start = async (client: Client) => {
await database.start(); await database.connect();
await schedule.start(client); await schedule.start(client);
await command.register(client); await command.register(client);
await event.register(client); await event.register(client);