aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation/hideCase.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-06 11:30:31 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-06 11:30:31 -0400
commita8386e756758f243b75e5df4886224d2bf9f241c (patch)
treeee7d1274248a4d6b6ddf9055158761cb5e6e049a /src/commands/moderation/hideCase.ts
parentb2ea3e7f142d47d19819893eb1c5fe9e8a31f87c (diff)
downloadtanzanite-a8386e756758f243b75e5df4886224d2bf9f241c.tar.gz
tanzanite-a8386e756758f243b75e5df4886224d2bf9f241c.tar.bz2
tanzanite-a8386e756758f243b75e5df4886224d2bf9f241c.zip
fixes
Diffstat (limited to 'src/commands/moderation/hideCase.ts')
-rw-r--r--src/commands/moderation/hideCase.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/moderation/hideCase.ts b/src/commands/moderation/hideCase.ts
index 1d8dea6..6cd8e31 100644
--- a/src/commands/moderation/hideCase.ts
+++ b/src/commands/moderation/hideCase.ts
@@ -41,7 +41,7 @@ export default class HideCaseCommand extends BushCommand {
if (!entry || entry.pseudo) return message.util.send(`${util.emojis.error} Invalid entry.`);
if (entry.guild !== message.guild!.id)
return message.util.reply(`${util.emojis.error} This modlog is from another server.`);
- const action = entry.hidden ? 'now hidden' : 'no longer hidden';
+ const action = entry.hidden ? 'no longer hidden' : 'now hidden';
entry.hidden = !entry.hidden;
await entry.save();