diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-05-25 17:06:02 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-05-25 17:06:02 -0400 |
commit | 210678c5f4391b4f5959bd2664d38a0222cbdbe3 (patch) | |
tree | 6123ab4c74f3aef1aefee5583ed9a7d0fcc8bc79 /src/commands/moderation/lockdown.ts | |
parent | 59ea06a2f010ad7503e4f7b7a1894485d37a416e (diff) | |
download | tanzanite-210678c5f4391b4f5959bd2664d38a0222cbdbe3.tar.gz tanzanite-210678c5f4391b4f5959bd2664d38a0222cbdbe3.tar.bz2 tanzanite-210678c5f4391b4f5959bd2664d38a0222cbdbe3.zip |
feat: add command locking
Diffstat (limited to 'src/commands/moderation/lockdown.ts')
-rw-r--r-- | src/commands/moderation/lockdown.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commands/moderation/lockdown.ts b/src/commands/moderation/lockdown.ts index 3e4f05b..36f3240 100644 --- a/src/commands/moderation/lockdown.ts +++ b/src/commands/moderation/lockdown.ts @@ -59,7 +59,8 @@ export default class LockdownCommand extends BushCommand { slash: true, channel: 'guild', clientPermissions: (m) => util.clientSendAndPermCheck(m, [PermissionFlagsBits.ManageChannels]), - userPermissions: [PermissionFlagsBits.ManageChannels] + userPermissions: [PermissionFlagsBits.ManageChannels], + lock: 'channel' }); } |