diff options
Diffstat (limited to 'src/commands/moderation/modlog.ts')
-rw-r--r-- | src/commands/moderation/modlog.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/commands/moderation/modlog.ts b/src/commands/moderation/modlog.ts index 2c0e33a..2bcc54d 100644 --- a/src/commands/moderation/modlog.ts +++ b/src/commands/moderation/modlog.ts @@ -8,7 +8,6 @@ import { emojis, humanizeDuration, ModLog, - resolveUserAsync, timestamp, userGuildPermCheck, type ArgType, @@ -61,7 +60,7 @@ export default class ModlogCommand extends BushCommand { ) { assert(message.inGuild()); - const foundUser = search instanceof User ? search : await resolveUserAsync(search); + const foundUser = search instanceof User ? search : await this.client.utils.resolveUserAsync(search); if (foundUser) { const logs = await ModLog.findAll({ where: { |