🐛 fix: Upgraded deps and fix broken changes

This commit is contained in:
2024-06-16 00:06:42 +07:00
parent 6930722902
commit a47a1d0c27
4 changed files with 210 additions and 234 deletions
+3 -1
View File
@@ -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);
+1 -1
View File
@@ -7,7 +7,7 @@ import {
Message,
TextChannel,
BaseGuildTextChannel,
TextBasedChannelMixin,
TextBasedChannel,
ChannelType,
BaseGuildVoiceChannel,
InteractionType,