mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-13 18:59:19 +00:00
🐛 fix: Upgraded deps and fix broken changes
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
Message,
|
||||
TextChannel,
|
||||
BaseGuildTextChannel,
|
||||
TextBasedChannelMixin,
|
||||
TextBasedChannel,
|
||||
ChannelType,
|
||||
BaseGuildVoiceChannel,
|
||||
InteractionType,
|
||||
|
||||
Reference in New Issue
Block a user