Fix Permission Issue
This commit is contained in:
parent
1c115eaa6c
commit
32d18716cb
|
@ -1,8 +1,9 @@
|
||||||
const { SlashCommandBuilder } = require('discord.js');
|
const { SlashCommandBuilder, PermissionFlagsBits } = require('discord.js');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('setup')
|
.setName('setup')
|
||||||
|
.setDefaultMemberPermissions(PermissionFlagsBits.ManageChannels)
|
||||||
.addChannelOption((o) => o
|
.addChannelOption((o) => o
|
||||||
.setName("channel")
|
.setName("channel")
|
||||||
.setDescription("Channel to Chat with Xantic")
|
.setDescription("Channel to Chat with Xantic")
|
||||||
|
|
Loading…
Reference in New Issue