From 0cc1238c97bf858942065dd5c94580995fc3ebcd Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Fri, 29 Apr 2022 20:09:06 +0300 Subject: [PATCH] meta files --- .eslintignore | 4 ++++ options.json | 4 +++- package.json | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .eslintignore diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..79a1314 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,4 @@ +src/middleware/api +src/structure/components/settings/.eslintrc.json +src/localization +src/constants \ No newline at end of file diff --git a/options.json b/options.json index d8a3f1a..cd02799 100644 --- a/options.json +++ b/options.json @@ -6,6 +6,7 @@ "132777808362471424" ], "clientOptions": { + "partials": ["CHANNEL"], "intents": [ "GUILDS", "GUILD_MEMBERS", @@ -13,7 +14,8 @@ "GUILD_VOICE_STATES", "GUILD_WEBHOOKS", "GUILD_BANS", - "GUILD_PRESENCES" + "GUILD_PRESENCES", + "DIRECT_MESSAGES" ] }, "invite": "https://discord.gg/49u6cHu", diff --git a/package.json b/package.json index 0495681..aea3422 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "dev": "nodemon --trace-warnings --unhandled-rejections=strict index.js", "debug": "node --trace-warnings --inspect index.js", "update": "git pull && cd api && yarn update", - "test": "jest --detectOpenHandles" + "test": "jest --detectOpenHandles", + "lint": "eslint --fix-dry-run src/**" }, "repository": { "type": "git",