Merge branch 'ZynerOrg:dev' into dev
This commit is contained in:
commit
98706ff066
3 changed files with 6 additions and 6 deletions
|
@ -34,7 +34,7 @@
|
|||
"chance": "^1.1.8",
|
||||
"common": "^0.2.5",
|
||||
"crypto": "^1.0.1",
|
||||
"discord-api-types": "^0.34.0",
|
||||
"discord-api-types": "^0.36.0",
|
||||
"discord.js": "^13.6.0",
|
||||
"i18n": "^0.15.0",
|
||||
"i18next": "^21.6.13",
|
||||
|
@ -57,15 +57,15 @@
|
|||
"@types/uuid": "^8.3.4",
|
||||
"@typescript-eslint/eslint-plugin": "^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-prettier": "8.5.0",
|
||||
"eslint-plugin-import": "2.26.0",
|
||||
"eslint-plugin-no-loops": "^0.3.0",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"husky": "8.0.1",
|
||||
"jest": "28.1.1",
|
||||
"lint-staged": "13.0.1",
|
||||
"jest": "28.1.2",
|
||||
"lint-staged": "13.0.3",
|
||||
"nodemon": "^2.0.16",
|
||||
"prettier": "^2.6.0"
|
||||
},
|
||||
|
|
|
@ -7,7 +7,7 @@ import logger from "../../logger";
|
|||
// Configuration
|
||||
import { url } from "../../config/database";
|
||||
|
||||
export const start = async () => {
|
||||
export const connect = async () => {
|
||||
await mongoose
|
||||
.connect(url)
|
||||
.then(async (connection) => {
|
||||
|
|
|
@ -6,7 +6,7 @@ import * as event from "./event";
|
|||
import * as command from "./command";
|
||||
|
||||
export const start = async (client: Client) => {
|
||||
await database.start();
|
||||
await database.connect();
|
||||
await schedule.start(client);
|
||||
await command.register(client);
|
||||
await event.register(client);
|
||||
|
|
Loading…
Add table
Reference in a new issue