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",