Skip to content

Commit

Permalink
🐛 fix: Upgraded deps and fix broken changes
Browse files Browse the repository at this point in the history
  • Loading branch information
YuzuZensai committed Jun 15, 2024
1 parent d369714 commit d6de8d5
Show file tree
Hide file tree
Showing 4 changed files with 223 additions and 247 deletions.
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"dependencies": {
"@discordjs/opus": "^0.9.0",
"@discordjs/rest": "^2.2.0",
"@discordjs/voice": "^0.16.1",
"@discordjs/rest": "^2.3.0",
"@discordjs/voice": "^0.17.0",
"@types/color-thief-node": "^1.0.4",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
Expand All @@ -12,34 +12,34 @@
"color-thief-node": "^1.0.4",
"cors": "^2.8.5",
"country-code-emoji": "^2.3.0",
"country-code-lookup": "^0.1.1",
"discord-api-types": "^0.37.71",
"discord.js": "^14.14.1",
"country-code-lookup": "^0.1.3",
"discord-api-types": "^0.37.89",
"discord.js": "^14.15.3",
"dotenv": "^16.4.5",
"express": "^4.18.3",
"express": "^4.19.2",
"i18n": "^0.15.1",
"libsodium-wrappers": "^0.7.13",
"node-osu": "^2.2.1",
"os-utils": "^0.0.14",
"ping": "^0.4.4",
"play-dl": "^1.9.7",
"ts-custom-error": "^3.3.1",
"typescript": "^5.3.3",
"utf-8-validate": "^6.0.3",
"validator": "^13.11.0",
"vrchat": "^1.16.6",
"winston": "^3.11.0",
"typescript": "^5.4.5",
"utf-8-validate": "^6.0.4",
"validator": "^13.12.0",
"vrchat": "^1.17.6",
"winston": "^3.13.0",
"zlib-sync": "^0.1.9"
},
"devDependencies": {
"@prisma/client": "^5.10.2",
"@prisma/client": "^5.15.0",
"@types/bluebird": "^3.5.42",
"@types/i18n": "^0.13.10",
"@types/node": "^20.11.24",
"@types/i18n": "^0.13.12",
"@types/node": "^20.14.2",
"@types/ping": "^0.4.4",
"@types/validator": "^13.11.9",
"@types/validator": "^13.11.10",
"copyfiles": "^2.4.1",
"prisma": "^5.10.2",
"prisma": "^5.15.0",
"ts-node-dev": "^2.0.0"
},
"scripts": {
Expand Down
4 changes: 3 additions & 1 deletion src/discord/UserInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,9 @@ export default class UserInfo extends DiscordModule {
if (typeof data.getMessage().mentions.users.first() !== 'undefined')
query = data.getMessage().mentions.users.first()?.id;
else query = args[0];
} else if (data.isApplicationCommand()) query = data.getSlashCommand().options.getUser('user')?.id;
// TODO: Fix typing
// @ts-ignore
} else if (data.isApplicationCommand()) query = data.getSlashCommand().options.get.getUser('user')?.id;

// Find the user want to look up
let TargetMember = (await guild.members.fetch()).get(query);
Expand Down
2 changes: 1 addition & 1 deletion src/providers/Discord.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
Message,
TextChannel,
BaseGuildTextChannel,
TextBasedChannelMixin,
TextBasedChannel,
ChannelType,
BaseGuildVoiceChannel,
InteractionType,
Expand Down
Loading

0 comments on commit d6de8d5

Please sign in to comment.