From 34eb30a144221a584de502fcad5305c8544c07ce Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Tue, 8 Mar 2022 20:20:02 -0500 Subject: fix(AppealListener): separate modlogs + force fetch user --- src/commands/moderation/modlog.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/commands/moderation') diff --git a/src/commands/moderation/modlog.ts b/src/commands/moderation/modlog.ts index b44cff4..66368f9 100644 --- a/src/commands/moderation/modlog.ts +++ b/src/commands/moderation/modlog.ts @@ -3,6 +3,8 @@ import assert from 'assert'; import { ApplicationCommandOptionType, PermissionFlagsBits, User } from 'discord.js'; export default class ModlogCommand extends BushCommand { + public static separator = '\n━━━━━━━━━━━━━━━\n'; + public constructor() { super('modlog', { aliases: ['modlog', 'modlogs'], @@ -61,7 +63,7 @@ export default class ModlogCommand extends BushCommand { const chunked: string[][] = util.chunk(niceLogs, 4); const embedPages = chunked.map((chunk) => ({ title: `${foundUser.tag}'s Mod Logs`, - description: chunk.join('\n━━━━━━━━━━━━━━━\n'), + description: chunk.join(ModlogCommand.separator), color: util.colors.default })); return await ButtonPaginator.send(message, embedPages, undefined, true); -- cgit