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')
.setDescription('Lock a channel')
.setDefaultMemberPermissions(
PermissionFlagsBits.KickMembers || PermissionFlagsBits.BanMembers
PermissionFlagsBits.Administrator
),
/**

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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