diff options
Diffstat (limited to 'src/commands/moderation/modlog.ts')
-rw-r--r-- | src/commands/moderation/modlog.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/moderation/modlog.ts b/src/commands/moderation/modlog.ts index e7b3576..d6ecc37 100644 --- a/src/commands/moderation/modlog.ts +++ b/src/commands/moderation/modlog.ts @@ -1,5 +1,5 @@ import { BushCommand, ButtonPaginator, ModLog, type ArgType, type BushMessage, type BushSlashMessage } from '#lib'; -import { ApplicationCommandOptionType, MessageEmbed, Permissions, User } from 'discord.js'; +import { ApplicationCommandOptionType, Embed, Permissions, User } from 'discord.js'; export default class ModlogCommand extends BushCommand { public constructor() { @@ -57,7 +57,7 @@ export default class ModlogCommand extends BushCommand { const chunked: string[][] = util.chunk(niceLogs, 4); const embedPages = chunked.map( (chunk) => - new MessageEmbed({ + new Embed({ title: `${foundUser.tag}'s Mod Logs`, description: chunk.join('\n━━━━━━━━━━━━━━━\n'), color: util.colors.default |