aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/badwords.ts2
-rw-r--r--src/lib/models/Guild.ts2
-rw-r--r--src/listeners/client/interactionCreate.ts2
-rw-r--r--src/listeners/message/automodCreate.ts2
-rw-r--r--src/listeners/message/automodUpdate.ts2
-rw-r--r--tsconfig.json30
6 files changed, 29 insertions, 11 deletions
diff --git a/src/lib/badwords.ts b/src/lib/badwords.ts
index c5fbf2d..975df24 100644
--- a/src/lib/badwords.ts
+++ b/src/lib/badwords.ts
@@ -1,4 +1,4 @@
-import { BadWords, Severity } from "./common/automod";
+import { BadWords, Severity } from "./common/autoMod";
export default {
/* -------------------------------------------------------------------------- */
diff --git a/src/lib/models/Guild.ts b/src/lib/models/Guild.ts
index f1ea43b..d23bb0f 100644
--- a/src/lib/models/Guild.ts
+++ b/src/lib/models/Guild.ts
@@ -1,6 +1,6 @@
import { Snowflake } from 'discord.js';
import { DataTypes, Sequelize } from 'sequelize';
-import { BadWords } from '../common/automod';
+import { BadWords } from '../common/autoMod';
import { BushClient } from '../extensions/discord-akairo/BushClient';
import { BaseModel } from './BaseModel';
import { jsonArrayInit, jsonParseGet, jsonParseSet, NEVER_USED } from './__helpers';
diff --git a/src/listeners/client/interactionCreate.ts b/src/listeners/client/interactionCreate.ts
index 52ad2ec..b148afb 100644
--- a/src/listeners/client/interactionCreate.ts
+++ b/src/listeners/client/interactionCreate.ts
@@ -1,5 +1,5 @@
import { BushButtonInteraction, BushListener } from '@lib';
-import { AutoMod } from '../../lib/common/automod';
+import { AutoMod } from '../../lib/common/autoMod';
import { BushClientEvents } from '../../lib/extensions/discord.js/BushClientEvents';
export default class InteractionCreateListener extends BushListener {
diff --git a/src/listeners/message/automodCreate.ts b/src/listeners/message/automodCreate.ts
index 3e98117..b801356 100644
--- a/src/listeners/message/automodCreate.ts
+++ b/src/listeners/message/automodCreate.ts
@@ -1,5 +1,5 @@
import { BushListener } from '@lib';
-import { AutoMod } from '../../lib/common/automod';
+import { AutoMod } from '../../lib/common/autoMod';
import { BushClientEvents } from '../../lib/extensions/discord.js/BushClientEvents';
export default class AutomodMessageCreateListener extends BushListener {
diff --git a/src/listeners/message/automodUpdate.ts b/src/listeners/message/automodUpdate.ts
index 86411b2..08d4911 100644
--- a/src/listeners/message/automodUpdate.ts
+++ b/src/listeners/message/automodUpdate.ts
@@ -1,5 +1,5 @@
import { BushListener, BushMessage } from '@lib';
-import { AutoMod } from '../../lib/common/automod';
+import { AutoMod } from '../../lib/common/autoMod';
import { BushClientEvents } from '../../lib/extensions/discord.js/BushClientEvents';
export default class AutomodMessageUpdateListener extends BushListener {
diff --git a/tsconfig.json b/tsconfig.json
index 0c7b4a5..93ac2eb 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -3,7 +3,14 @@
"module": "commonjs",
"target": "esnext",
"outDir": "dist",
- "lib": ["esnext", "esnext.array", "esnext.asyncIterable", "esnext.intl", "esnext.symbol", "DOM"],
+ "lib": [
+ "esnext",
+ "esnext.array",
+ "esnext.asyncIterable",
+ "esnext.intl",
+ "esnext.symbol",
+ "DOM"
+ ],
"sourceMap": false,
"inlineSourceMap": true,
"inlineSources": true,
@@ -18,12 +25,23 @@
"stripInternal": true,
"baseUrl": "./",
"useUnknownInCatchVariables": false,
+ "forceConsistentCasingInFileNames": true,
"paths": {
- "src/*": ["./src/*"],
- "@lib": ["./src/lib"],
- "@root": ["."]
+ "src/*": [
+ "./src/*"
+ ],
+ "@lib": [
+ "./src/lib"
+ ],
+ "@root": [
+ "."
+ ]
}
},
- "include": ["src/**/*.ts", "lib/**/*.ts", "ecosystem.config.js"],
+ "include": [
+ "src/**/*.ts",
+ "lib/**/*.ts",
+ "ecosystem.config.js"
+ ],
"exclude": []
-}
+} \ No newline at end of file