Bug squashed

Corected bug where ticket wouldn't re-add the artists when reopened in
the paid category
This commit is contained in:
Ninjdai 2022-11-23 08:04:57 +01:00
parent 4ffa8d3f1f
commit 87b1177bae

View File

@ -91,7 +91,7 @@ module.exports = {
allow: [PermissionFlagsBits.ViewChannel, PermissionFlagsBits.ManageChannels],
},
]);
if (interaction.channel.parentId == '780559502105378836'){
if (['1040706105321467934', '780559502105378836'].includes(interaction.channel.parentId)){
await interaction.channel.permissionOverwrites.create('780007193688801321', {
ViewChannel: true
});