aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/moderation')
-rw-r--r--src/commands/moderation/modlog.ts4
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);