aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/moderation')
-rw-r--r--src/commands/moderation/_activePunishments.ts2
-rw-r--r--src/commands/moderation/hideCase.ts2
-rw-r--r--src/commands/moderation/slowmode.ts2
-rw-r--r--src/commands/moderation/timeout.ts2
-rw-r--r--src/commands/moderation/unlockdown.ts4
5 files changed, 6 insertions, 6 deletions
diff --git a/src/commands/moderation/_activePunishments.ts b/src/commands/moderation/_activePunishments.ts
index d40f2ba..98c4912 100644
--- a/src/commands/moderation/_activePunishments.ts
+++ b/src/commands/moderation/_activePunishments.ts
@@ -5,7 +5,7 @@
// export default class ActivePunishmentsCommand extends BushCommand {
// public constructor() {
-// super('active-punishments', {
+// super('activePunishments', {
// aliases: ['active-punishments', 'ap'],
// category: 'moderation',
// description: 'Gets a list of all the active punishment in the server.',
diff --git a/src/commands/moderation/hideCase.ts b/src/commands/moderation/hideCase.ts
index de7b310..04160fd 100644
--- a/src/commands/moderation/hideCase.ts
+++ b/src/commands/moderation/hideCase.ts
@@ -3,7 +3,7 @@ import { BushCommand, ModLog, type BushMessage, type BushSlashMessage } from '#l
export default class HideCaseCommand extends BushCommand {
public constructor() {
super('hideCase', {
- aliases: ['hide-case', 'hide_case', 'showcase', 'show_case', 'cover-up-mod-abuse', 'cover_up_mod_abuse'],
+ aliases: ['hide-case', 'hide_case', 'show-case', 'show_case', 'cover-up-mod-abuse', 'cover_up_mod_abuse'],
category: 'moderation',
description: 'Hide a particular modlog case from the modlog command unless the `--hidden` flag is specified',
usage: ['hide-case <case_id>'],
diff --git a/src/commands/moderation/slowmode.ts b/src/commands/moderation/slowmode.ts
index 3d53edc..bfa6462 100644
--- a/src/commands/moderation/slowmode.ts
+++ b/src/commands/moderation/slowmode.ts
@@ -2,7 +2,7 @@ import { BushCommand, type ArgType, type BushMessage, type BushSlashMessage } fr
import { Argument } from 'discord-akairo';
import { type TextChannel, type ThreadChannel } from 'discord.js';
-export default class SlowModeCommand extends BushCommand {
+export default class SlowmodeCommand extends BushCommand {
public constructor() {
super('slowmode', {
aliases: ['slowmode', 'slow'],
diff --git a/src/commands/moderation/timeout.ts b/src/commands/moderation/timeout.ts
index f187a58..3968bde 100644
--- a/src/commands/moderation/timeout.ts
+++ b/src/commands/moderation/timeout.ts
@@ -4,7 +4,7 @@ import assert from 'assert';
export default class TimeoutCommand extends BushCommand {
public constructor() {
super('timeout', {
- aliases: ['timeout'],
+ aliases: ['timeout', 'to'],
category: 'moderation',
description: 'Timeout a user.',
usage: ['timeout <user> <reasonAndDuration>'],
diff --git a/src/commands/moderation/unlockdown.ts b/src/commands/moderation/unlockdown.ts
index 5bcea32..3d363ac 100644
--- a/src/commands/moderation/unlockdown.ts
+++ b/src/commands/moderation/unlockdown.ts
@@ -1,10 +1,10 @@
+import { LockdownCommand } from '#commands';
import { BushCommand, type ArgType, type BushMessage, type BushSlashMessage, type OptionalArgType } from '#lib';
-import LockdownCommand from './lockdown.js';
export default class UnlockdownCommand extends BushCommand {
public constructor() {
super('unlockdown', {
- aliases: ['unlockdown', 'unlock'],
+ aliases: ['unlockdown', 'unlock', 'lockup'],
category: 'moderation',
description: 'Allows you to unlockdown a channel or all configured channels.',
usage: ['unlockdown [channel] [reason] [--all]'],