fix(arabot): change restrict category from private to restrict in vegan restrict

This commit is contained in:
smyalygames 2023-02-11 20:53:11 +00:00
parent 1bacef1f08
commit c0da7cb1fa

View File

@ -106,7 +106,7 @@ export class RestrictCommand extends Command {
if (reason === null) {
await message.react('❌');
await message.reply('Ban reason was not provided!');
await message.reply('Restrict reason was not provided!');
return;
}
@ -212,7 +212,7 @@ export class RestrictCommand extends Command {
name: `⛔┃${member.user.username}-restricted`,
type: ChannelType.GuildText,
topic: `Restricted channel. ${member.id} ${voiceChannel.id} (Please do not change this)`,
parent: IDs.categories.private,
parent: IDs.categories.restricted,
permissionOverwrites: [
{
id: guild.roles.everyone,
@ -235,7 +235,7 @@ export class RestrictCommand extends Command {
name: `⛔┃${member.user.id}-restricted`,
type: ChannelType.GuildText,
topic: `Restricted channel. ${member.id} ${voiceChannel.id} (Please do not change this)`,
parent: IDs.categories.private,
parent: IDs.categories.restricted,
permissionOverwrites: [
{
id: guild.roles.everyone,