feat: update scoring system and embed message structure
This commit is contained in:
+6
-6
@@ -59,12 +59,12 @@ const emojis_type = new SlashCommandSubcommandBuilder()
|
||||
{ name: 'Include', value: 'include' },
|
||||
{ name: 'Exclude', value: 'exclude' }
|
||||
));
|
||||
const count = new SlashCommandSubcommandBuilder()
|
||||
.setName('count')
|
||||
.setDescription('Set the number of reactions to trigger')
|
||||
const score = new SlashCommandSubcommandBuilder()
|
||||
.setName('score')
|
||||
.setDescription('Set the number of scores to trigger')
|
||||
.addIntegerOption(option =>
|
||||
option.setName('count')
|
||||
.setDescription('The number of reactions to trigger')
|
||||
option.setName('score')
|
||||
.setDescription('The number of scores to trigger')
|
||||
.setRequired(true));
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ const config = new SlashCommandBuilder()
|
||||
.addSubcommand(channels_type)
|
||||
.addSubcommand(emojis)
|
||||
.addSubcommand(emojis_type)
|
||||
.addSubcommand(count);
|
||||
.addSubcommand(score);
|
||||
|
||||
const commands = [config];
|
||||
export default commands;
|
||||
|
||||
Reference in New Issue
Block a user