diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-03-08 20:20:02 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-03-08 20:20:02 -0500 |
commit | 34eb30a144221a584de502fcad5305c8544c07ce (patch) | |
tree | 4f39c1000b4176f2514022f062051bbb1e2b506e /src/commands/moderation | |
parent | adc01358c14c2b71d932bdbf928e2c216ef8094f (diff) | |
download | tanzanite-34eb30a144221a584de502fcad5305c8544c07ce.tar.gz tanzanite-34eb30a144221a584de502fcad5305c8544c07ce.tar.bz2 tanzanite-34eb30a144221a584de502fcad5305c8544c07ce.zip |
fix(AppealListener): separate modlogs + force fetch user
Diffstat (limited to 'src/commands/moderation')
-rw-r--r-- | src/commands/moderation/modlog.ts | 4 |
1 files changed, 3 insertions, 1 deletions
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); |