diff options
-rw-r--r-- | lib/badwords.ts | 12 | ||||
-rw-r--r-- | src/commands/moderation/modlog.ts | 2 |
2 files changed, 13 insertions, 1 deletions
diff --git a/lib/badwords.ts b/lib/badwords.ts index 5260264..450e606 100644 --- a/lib/badwords.ts +++ b/lib/badwords.ts @@ -842,4 +842,16 @@ export default { userInfo: false, }, ], + + "Testing": [ + { + match: "5Q1eaFprzrBozP0F", + severity: Severity.WARN, + ignoreSpaces: false, + ignoreCapitalization: false, + reason: "testing", + regex: false, + userInfo: true, + }, + ], } as BadWords; diff --git a/src/commands/moderation/modlog.ts b/src/commands/moderation/modlog.ts index c7bdeb0..a04be32 100644 --- a/src/commands/moderation/modlog.ts +++ b/src/commands/moderation/modlog.ts @@ -56,7 +56,7 @@ export default class ModlogCommand extends BushCommand { public override async exec( message: CommandMessage | SlashMessage, - { search, hidden }: { search: ArgType<'user'> | string; hidden: ArgType<'flag'> } + { search, hidden = false }: { search: ArgType<'user'> | string; hidden: ArgType<'flag'> } ) { assert(message.inGuild()); |