mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-11-03 15:49:50 +01:00
fix(arabot): change restrict category from private to restrict in vegan restrict
This commit is contained in:
parent
1bacef1f08
commit
c0da7cb1fa
@ -106,7 +106,7 @@ export class RestrictCommand extends Command {
|
|||||||
|
|
||||||
if (reason === null) {
|
if (reason === null) {
|
||||||
await message.react('❌');
|
await message.react('❌');
|
||||||
await message.reply('Ban reason was not provided!');
|
await message.reply('Restrict reason was not provided!');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -212,7 +212,7 @@ export class RestrictCommand extends Command {
|
|||||||
name: `⛔┃${member.user.username}-restricted`,
|
name: `⛔┃${member.user.username}-restricted`,
|
||||||
type: ChannelType.GuildText,
|
type: ChannelType.GuildText,
|
||||||
topic: `Restricted channel. ${member.id} ${voiceChannel.id} (Please do not change this)`,
|
topic: `Restricted channel. ${member.id} ${voiceChannel.id} (Please do not change this)`,
|
||||||
parent: IDs.categories.private,
|
parent: IDs.categories.restricted,
|
||||||
permissionOverwrites: [
|
permissionOverwrites: [
|
||||||
{
|
{
|
||||||
id: guild.roles.everyone,
|
id: guild.roles.everyone,
|
||||||
@ -235,7 +235,7 @@ export class RestrictCommand extends Command {
|
|||||||
name: `⛔┃${member.user.id}-restricted`,
|
name: `⛔┃${member.user.id}-restricted`,
|
||||||
type: ChannelType.GuildText,
|
type: ChannelType.GuildText,
|
||||||
topic: `Restricted channel. ${member.id} ${voiceChannel.id} (Please do not change this)`,
|
topic: `Restricted channel. ${member.id} ${voiceChannel.id} (Please do not change this)`,
|
||||||
parent: IDs.categories.private,
|
parent: IDs.categories.restricted,
|
||||||
permissionOverwrites: [
|
permissionOverwrites: [
|
||||||
{
|
{
|
||||||
id: guild.roles.everyone,
|
id: guild.roles.everyone,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user