This commit is contained in:
Lukian 2023-06-20 15:09:53 +02:00
parent ab45931f0f
commit 13ec9babde
7 changed files with 211 additions and 20 deletions

View file

@ -1,4 +1,4 @@
const {ApplicationCommandOptionType} = require('discord.js');
const { ApplicationCommandOptionType } = require('discord.js');
const commands = [
{
@ -115,6 +115,32 @@ const commands = [
},
],
},
{
name : 'addchannel',
description : 'Add a channel to the conversation system',
options : [
{
name : 'channel',
description : 'The channel you want to add',
type : ApplicationCommandOptionType.Channel,
required : true,
},
],
},
{
name : 'deletechannel',
description : 'Delete a channel from the conversation system',
options : [
{
name : 'channel',
description : 'The channel you want to delete',
type : ApplicationCommandOptionType.Channel,
required : true,
},
],
},
];
module.exports = { commands };