Skip to content

Commit

Permalink
maybe updating every dependency will fix things
Browse files Browse the repository at this point in the history
  • Loading branch information
bristermitten committed Feb 1, 2025
1 parent a47d91b commit 6d93497
Show file tree
Hide file tree
Showing 3 changed files with 209 additions and 238 deletions.
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "devdenbot",
"version": "8.4.4",
"version": "8.4.5",
"type": "module",
"main": "src/index.ts",
"engines": {
Expand All @@ -25,13 +25,13 @@
"@sentry/cli": "^2.41.1",
"@sentry/node": "^8.53.0",
"@sentry/profiling-node": "^8.53.0",
"@sequelize/core": "^7.0.0-alpha.43",
"@sequelize/postgres": "^7.0.0-alpha.43",
"@sequelize/sqlite3": "^7.0.0-alpha.43",
"bufferutil": "^4.0.8",
"canvas": "^3.0.0-rc2",
"discord.js": "^14.16.3",
"djs-slash-helper": "git+https://github.com/bristermitten/djs-slash-helper.git#1302255f21e14aa5c7bb987c11c7be53b1058f65",
"@sequelize/core": "^7.0.0-alpha.44",
"@sequelize/postgres": "^7.0.0-alpha.44",
"@sequelize/sqlite3": "^7.0.0-alpha.44",
"bufferutil": "^4.0.9",
"canvas": "^3.1.0",
"discord.js": "^14.17.3",
"djs-slash-helper": "git+https://github.com/bristermitten/djs-slash-helper.git#e2e51a11e756ed4960dac7667a7c2e44c1f39b04",
"dotenv": "^16.4.7",
"expiry-map": "^2.0.0",
"lru-cache": "^11.0.2",
Expand All @@ -48,30 +48,30 @@
"tslib": "^2.8.1",
"utf-8-validate": "^6.0.5",
"winston": "^3.17.0",
"yaml": "^2.6.1",
"yaml": "^2.7.0",
"zlib-sync": "^0.1.9"
},
"repository": "https://github.com/TheDeveloperDen/DevDenBot.git",
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.16.0",
"@eslint/js": "^9.19.0",
"@sentry/types": "^8.53.0",
"@types/node": "^22.10.1",
"@types/node": "^22.13.0",
"@types/node-schedule": "^2.1.7",
"@types/opentype.js": "^1.3.8",
"@types/pg": "^8.11.10",
"@types/pg": "^8.11.11",
"@types/sequelize": "^4.28.20",
"@types/sqlite3": "^3.1.11",
"@types/string-similarity": "^4.0.2",
"@types/validator": "^13.12.2",
"eslint": "^9.16.0",
"globals": "^15.13.0",
"nodemon": "^3.1.7",
"eslint": "^9.19.0",
"globals": "^15.14.0",
"nodemon": "^3.1.9",
"ts-node": "^10.9.2",
"ts-prune": "^0.10.3",
"ts-standard": "^12.0.2",
"typescript": "^5.7.2",
"typescript-eslint": "^8.18.0"
"typescript": "^5.7.3",
"typescript-eslint": "^8.22.0"
},
"packageManager": "[email protected]"
}
4 changes: 2 additions & 2 deletions src/modules/core/info.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ export const InfoCommand: Command<ApplicationCommandType.ChatInput> = {
await interaction.reply('This command can only be used in a server')
return
}
const totalXP = await DDUser.sum('xp')
const totalXP = await DDUser.sum('xp') ?? 0
const memberCount = guild.memberCount
const membersStored = await DDUser.count()
const dateCreated = `
<t:${guild.createdAt.getTime() / 1000 | 0}>`
const levelUps = await DDUser.sum('level')
const levelUps = await DDUser.sum('level') ?? 0
await interaction.followUp({
embeds: [
createStandardEmbed(interaction.member as GuildMember)
Expand Down
Loading

0 comments on commit 6d93497

Please sign in to comment.