aboutsummaryrefslogtreecommitdiff
path: root/bot
diff options
context:
space:
mode:
Diffstat (limited to 'bot')
-rw-r--r--bot/bun.lockbbin159191 -> 162195 bytes
-rw-r--r--bot/eslint.config.js2
-rw-r--r--bot/package.json8
-rw-r--r--bot/src/commands/suggest.js3
4 files changed, 7 insertions, 6 deletions
diff --git a/bot/bun.lockb b/bot/bun.lockb
index faf6f87..71d13ae 100644
--- a/bot/bun.lockb
+++ b/bot/bun.lockb
Binary files differ
diff --git a/bot/eslint.config.js b/bot/eslint.config.js
index 3e15c48..6e8c23d 100644
--- a/bot/eslint.config.js
+++ b/bot/eslint.config.js
@@ -21,7 +21,7 @@ export default [
'@stylistic/js/semi-style': ['error', 'last'],
'@stylistic/js/semi': ['error', 'always'],
'@stylistic/js/indent': ['error', 4],
- 'object-curly-spacing': ['error', 'always'],
+ '@stylistic/js/object-curly-spacing': ['error', 'always'],
'require-await': 'error'
}
},
diff --git a/bot/package.json b/bot/package.json
index 18ea6bb..77ebecd 100644
--- a/bot/package.json
+++ b/bot/package.json
@@ -20,15 +20,15 @@
"jsonwebtoken": "^9.0.2",
"node-cron": "^3.0.3",
"ollama": "^0.5.14",
- "sequelize": "^6.37.6",
+ "sequelize": "^6.37.7",
"sequelize-cli": "^6.6.2",
"sqlite3": "^5.1.7"
},
"devDependencies": {
- "@eslint/js": "^9.21.0",
- "@stylistic/eslint-plugin-js": "^4.1.0",
+ "@eslint/js": "^9.23.0",
+ "@stylistic/eslint-plugin-js": "^4.2.0",
"dotenv": "^16.4.7",
- "eslint": "^9.21.0",
+ "eslint": "^9.23.0",
"globals": "^16.0.0",
"nodemon": "^3.1.9"
}
diff --git a/bot/src/commands/suggest.js b/bot/src/commands/suggest.js
index 914284c..e841c15 100644
--- a/bot/src/commands/suggest.js
+++ b/bot/src/commands/suggest.js
@@ -54,7 +54,8 @@ export default {
.addFields({ name: 'Suggestion Content', value: feature })
.setColor(abEmbedColour)
.setFooter({ text: `Sending from ${modalInteraction.guild.name}`, iconURL: modalInteraction.guild.iconURL() })
- ] });
+ ]
+ });
return await modalInteraction.reply({ content: 'Your suggestion has been sent.', flags: MessageFlags.Ephemeral });
})