From 372718e567e060cead16dde5d6d190666b4dd575 Mon Sep 17 00:00:00 2001 From: TymanWasTaken Date: Sun, 16 May 2021 20:30:34 -0400 Subject: add colored logging and improved logging code, fix a few moderation command issues, add more logging, and make ban check run every 30s not 60s --- src/commands/moderation/modlog.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/commands/moderation/modlog.ts') diff --git a/src/commands/moderation/modlog.ts b/src/commands/moderation/modlog.ts index dbb101c..320c6b4 100644 --- a/src/commands/moderation/modlog.ts +++ b/src/commands/moderation/modlog.ts @@ -22,7 +22,12 @@ export default class ModlogCommand extends BotCommand { type: 'number' } ], - userPermissions: ['MANAGE_MESSAGES'] + userPermissions: ['MANAGE_MESSAGES'], + description: { + content: "View a user's modlogs, or view a specific modlog entry", + usage: 'warn [page]', + examples: ['modlogs @Tyman', 'modlogs @Tyman 3'] + } }); } *args(): unknown { -- cgit