mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-12 15:57:43 +02:00
User perms
This commit is contained in:
@@ -9,6 +9,7 @@ module.exports = class AddPortalChannelCommand extends Command {
|
|||||||
memberName: 'add-portal-channel',
|
memberName: 'add-portal-channel',
|
||||||
description: 'Sets a channel to be a portal channel.',
|
description: 'Sets a channel to be a portal channel.',
|
||||||
guildOnly: true,
|
guildOnly: true,
|
||||||
|
userPermissions: ['MANAGE_CHANNELS'],
|
||||||
args: [
|
args: [
|
||||||
{
|
{
|
||||||
key: 'channel',
|
key: 'channel',
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ module.exports = class RemovePortalChannelCommand extends Command {
|
|||||||
memberName: 'remove-portal-channel',
|
memberName: 'remove-portal-channel',
|
||||||
description: 'Remove a channel from the portal channels.',
|
description: 'Remove a channel from the portal channels.',
|
||||||
guildOnly: true,
|
guildOnly: true,
|
||||||
|
userPermissions: ['MANAGE_CHANNELS'],
|
||||||
args: [
|
args: [
|
||||||
{
|
{
|
||||||
key: 'channel',
|
key: 'channel',
|
||||||
|
|||||||
Reference in New Issue
Block a user