commit
This commit is contained in:
parent
e2f51ddee9
commit
6781c7ff91
3 changed files with 140 additions and 67 deletions
|
@ -30,7 +30,33 @@ const commands = [
|
|||
required : true,
|
||||
},
|
||||
],
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
name : 'addconv',
|
||||
description : 'Add a conversation to the database',
|
||||
options : [
|
||||
{
|
||||
name : 'name',
|
||||
description : 'The name of the conversation',
|
||||
type : ApplicationCommandOptionType.String,
|
||||
required : true,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
{
|
||||
name : 'delconv',
|
||||
description : 'Delete a conversation from the database',
|
||||
options : [
|
||||
{
|
||||
name : 'name',
|
||||
description : 'The name of the conversation',
|
||||
type : ApplicationCommandOptionType.String,
|
||||
required : true,
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
const rest = new REST({ version: '10' }).setToken(process.env.DISCORD);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue