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/admin/channelPermissions.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/admin/channelPermissions.ts')
-rw-r--r-- | src/commands/admin/channelPermissions.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commands/admin/channelPermissions.ts b/src/commands/admin/channelPermissions.ts index c06b5fa..dac7117 100644 --- a/src/commands/admin/channelPermissions.ts +++ b/src/commands/admin/channelPermissions.ts @@ -51,7 +51,8 @@ export default class ChannelPermissionsCommand extends BushCommand { clientPermissions: (m) => util.clientSendAndPermCheck(m, [PermissionFlagsBits.ManageChannels]), userPermissions: [PermissionFlagsBits.Administrator], channel: 'guild', - slash: true + slash: true, + lock: 'guild' }); } |