set minimum required custom vc permissions
This commit is contained in:
parent
cb1662cefb
commit
dc166dd286
@ -2,21 +2,20 @@ import { ChannelType, Events, PermissionFlagsBits } from 'discord.js';
|
|||||||
import { VoiceChannel } from '../../database.js';
|
import { VoiceChannel } from '../../database.js';
|
||||||
|
|
||||||
const vcPermissionOverwrites = [
|
const vcPermissionOverwrites = [
|
||||||
PermissionFlagsBits.ManageRoles,
|
|
||||||
PermissionFlagsBits.ManageChannels,
|
|
||||||
PermissionFlagsBits.ViewChannel,
|
|
||||||
PermissionFlagsBits.ModerateMembers,
|
|
||||||
PermissionFlagsBits.SendMessages,
|
|
||||||
PermissionFlagsBits.SendMessagesInThreads,
|
|
||||||
PermissionFlagsBits.ManageMessages,
|
|
||||||
PermissionFlagsBits.ReadMessageHistory,
|
PermissionFlagsBits.ReadMessageHistory,
|
||||||
PermissionFlagsBits.AddReactions,
|
PermissionFlagsBits.PrioritySpeaker,
|
||||||
PermissionFlagsBits.Connect,
|
PermissionFlagsBits.ManageMessages,
|
||||||
PermissionFlagsBits.Speak,
|
PermissionFlagsBits.ManageChannels,
|
||||||
PermissionFlagsBits.MuteMembers,
|
|
||||||
PermissionFlagsBits.DeafenMembers,
|
PermissionFlagsBits.DeafenMembers,
|
||||||
|
PermissionFlagsBits.SendMessages,
|
||||||
|
PermissionFlagsBits.ViewChannel,
|
||||||
|
PermissionFlagsBits.MuteMembers,
|
||||||
PermissionFlagsBits.MoveMembers,
|
PermissionFlagsBits.MoveMembers,
|
||||||
PermissionFlagsBits.UseVAD
|
PermissionFlagsBits.ManageRoles,
|
||||||
|
PermissionFlagsBits.Connect,
|
||||||
|
PermissionFlagsBits.Stream,
|
||||||
|
PermissionFlagsBits.UseVAD,
|
||||||
|
PermissionFlagsBits.Speak
|
||||||
];
|
];
|
||||||
|
|
||||||
const getChannel = async (member, channels) => {
|
const getChannel = async (member, channels) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user