bugfix: case sensitive
This commit is contained in:
parent
8e9ddb1e7b
commit
ea54565c6a
@ -19,7 +19,7 @@ const vcPermissionOverwrites = [
|
|||||||
PermissionFlagsBits.UseVAD
|
PermissionFlagsBits.UseVAD
|
||||||
];
|
];
|
||||||
|
|
||||||
const getchannel = async (member, channels) => {
|
const getChannel = async (member, channels) => {
|
||||||
// Check database for existing channel
|
// Check database for existing channel
|
||||||
const ownCh = await VoiceChannel.findOne({
|
const ownCh = await VoiceChannel.findOne({
|
||||||
where: {
|
where: {
|
||||||
@ -73,7 +73,7 @@ export async function execute(_, state) {
|
|||||||
const channels = state.guild.channels;
|
const channels = state.guild.channels;
|
||||||
let step = 'create';
|
let step = 'create';
|
||||||
try {
|
try {
|
||||||
const privCh = await getchannel(member, channels);
|
const privCh = await getChannel(member, channels);
|
||||||
|
|
||||||
step = 'move to';
|
step = 'move to';
|
||||||
// Move user to private channel
|
// Move user to private channel
|
||||||
|
Loading…
Reference in New Issue
Block a user