added tsconfig, fixed colours
diff --git a/.gitignore b/.gitignore
index 44a4246..fcc5e39 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,7 +5,6 @@
.vscode/
yarn-error.log
yarn.lock
-tsconfig.json
src/utils/temp/*.png
src/utils/temp/*.webp
src/utils/temp/*.jpeg
diff --git a/src/utils/confirmationMessage.ts b/src/utils/confirmationMessage.ts
index 3226a43..dd97603 100644
--- a/src/utils/confirmationMessage.ts
+++ b/src/utils/confirmationMessage.ts
@@ -61,12 +61,12 @@
new Discord.MessageButton()
.setCustomId("no")
.setLabel("Cancel")
- .setStyle(this.inverted ? "DANGER" : "SUCCESS")
+ .setStyle("SECONDARY")
.setEmoji(getEmojiByName("CONTROL.CROSS", "id"))
].concat(this.customButtonTitle ? [new Discord.MessageButton()
.setCustomId("custom")
.setLabel(this.customButtonTitle)
- .setStyle("SECONDARY")
+ .setStyle("PRIMARY")
.setDisabled(this.customButtonDisabled)
.setEmoji(getEmojiByName("CONTROL.TICKET", "id"))
] : []))
diff --git a/tsconfig.json b/tsconfig.json
new file mode 100644
index 0000000..cbbd2ee
--- /dev/null
+++ b/tsconfig.json
@@ -0,0 +1,15 @@
+{
+ "compilerOptions": {
+ "module": "esnext",
+ "target": "es2020",
+ "sourceMap": true,
+ "esModuleInterop": true,
+ "outDir": "./dist",
+ "declaration": true,
+ "declarationMap": true,
+ "resolveJsonModule": true,
+ "moduleResolution": "node",
+ },
+ "include": ["src/**/*"],
+ "exclude": []
+}
\ No newline at end of file