feat: update scoring system and embed message structure

This commit is contained in:
2024-12-31 00:35:04 +09:00
parent 04dee350fc
commit 09ccb03626
4 changed files with 151 additions and 30 deletions
+6 -6
View File
@@ -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;