Merge pull request #192 from arenmarsden/fix/admin-permissions

imgbot
Kieran 2023-08-24 19:53:32 +01:00 committed by GitHub
commit bc239f6473
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 8 additions and 8 deletions

View File

@ -5,7 +5,7 @@ module.exports = {
.setName('lock') .setName('lock')
.setDescription('Lock a channel') .setDescription('Lock a channel')
.setDefaultMemberPermissions( .setDefaultMemberPermissions(
PermissionFlagsBits.KickMembers || PermissionFlagsBits.BanMembers PermissionFlagsBits.Administrator
), ),
/** /**

View File

@ -5,7 +5,7 @@ module.exports = {
.setName('nukecourserep') .setName('nukecourserep')
.setDescription('Replaces course rep') .setDescription('Replaces course rep')
.setDefaultMemberPermissions( .setDefaultMemberPermissions(
PermissionFlagsBits.KickMembers || PermissionFlagsBits.BanMembers PermissionFlagsBits.Administrator
), ),
/** /**

View File

@ -5,7 +5,7 @@ module.exports = {
.setName('nukepaid') .setName('nukepaid')
.setDescription('Replaces paid member') .setDescription('Replaces paid member')
.setDefaultMemberPermissions( .setDefaultMemberPermissions(
PermissionFlagsBits.KickMembers || PermissionFlagsBits.BanMembers PermissionFlagsBits.Administrator
), ),
/** /**

View File

@ -5,7 +5,7 @@ module.exports = {
.setName('unlock') .setName('unlock')
.setDescription('Unlocks a channel') .setDescription('Unlocks a channel')
.setDefaultMemberPermissions( .setDefaultMemberPermissions(
PermissionFlagsBits.KickMembers || PermissionFlagsBits.BanMembers PermissionFlagsBits.Administrator
), ),
/** /**

View File

@ -11,7 +11,7 @@ module.exports = {
.setName('paidmemberembed') .setName('paidmemberembed')
.setDescription('Create the paid member embed') .setDescription('Create the paid member embed')
.setDefaultMemberPermissions( .setDefaultMemberPermissions(
PermissionFlagsBits.KickMembers || PermissionFlagsBits.BanMembers PermissionFlagsBits.Administrator
), ),
/** /**

View File

@ -11,7 +11,7 @@ module.exports = {
.setName('rolesdropdown') .setName('rolesdropdown')
.setDescription('Create the role dropdowns') .setDescription('Create the role dropdowns')
.setDefaultMemberPermissions( .setDefaultMemberPermissions(
PermissionFlagsBits.KickMembers || PermissionFlagsBits.BanMembers PermissionFlagsBits.Administrator
), ),
/** /**

View File

@ -9,7 +9,7 @@ module.exports = {
.setName('usefullinks') .setName('usefullinks')
.setDescription('Create the useful links embed') .setDescription('Create the useful links embed')
.setDefaultMemberPermissions( .setDefaultMemberPermissions(
PermissionFlagsBits.KickMembers || PermissionFlagsBits.BanMembers PermissionFlagsBits.Administrator
), ),
/** /**

View File

@ -11,7 +11,7 @@ module.exports = {
.setName('welcomemebed') .setName('welcomemebed')
.setDescription('Create the welcome embed') .setDescription('Create the welcome embed')
.setDefaultMemberPermissions( .setDefaultMemberPermissions(
PermissionFlagsBits.KickMembers || PermissionFlagsBits.BanMembers PermissionFlagsBits.Administrator
), ),
/** /**