aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-08-21 14:17:23 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-08-21 14:17:23 -0400
commit2609f5e1fc8cbe4c87f0090b76a3e5235cc7f6f8 (patch)
tree336737411294b0ed745542b969d7db0a5b968e99
parentcb750202d5e8bd323c2d9628930506b4c870b845 (diff)
downloadtanzanite-2609f5e1fc8cbe4c87f0090b76a3e5235cc7f6f8.tar.gz
tanzanite-2609f5e1fc8cbe4c87f0090b76a3e5235cc7f6f8.tar.bz2
tanzanite-2609f5e1fc8cbe4c87f0090b76a3e5235cc7f6f8.zip
testing something
-rw-r--r--lib/badwords.ts12
-rw-r--r--src/commands/moderation/modlog.ts2
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());