Skip to content
This repository was archived by the owner on May 26, 2023. It is now read-only.

Commit f934cc8

Browse files
committed
fix
1 parent c6a8cce commit f934cc8

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

src/commands/main/help.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module.exports = {
2929
.setTitle(`${client.user.tag} helpページ`)
3030
.addFields([
3131
{ name: 'main', value: client.commands.filter(x => x.info.category == 'main').map((x) => '`' + x.info.name + '`').join(', ') },
32-
{ name: 'casino', value: client.commands.filter(x => x.info.category == 'casino').map((x) => '`' + x.info.name + '`').join(', ') },
32+
{ name: 'study', value: client.commands.filter(x => x.info.category == 'study').map((x) => '`' + x.info.name + '`').join(', ') },
3333
])
3434
.setTimestamp(),
3535
);
@@ -39,6 +39,12 @@ module.exports = {
3939
.setDescription(`${codeBlock(client.commands.filter(x => x.info.category == 'main').map((x) => `/${x.info.name}: ${x.info.description}`).join('\n'))}`)
4040
.setTimestamp(),
4141
);
42+
embeds.push(
43+
new EmbedBuilder()
44+
.setTitle('study')
45+
.setDescription(`${codeBlock(client.commands.filter(x => x.info.category == 'study').map((x) => `/${x.info.name}: ${x.info.description}`).join('\n'))}`)
46+
.setTimestamp(),
47+
);
4248

4349
if (interaction.member.roles.cache.has('822852335322923060') || interaction.member.roles.cache.has('771015602180587571') || interaction.member.permissions.has('ADMINISTRATOR')) {
4450
embeds[0].addFields([

src/commands/study/studytimeadd.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ module.exports = {
1313
.setDescription('勉強時間を追加')
1414
.addIntegerOption(option => option
1515
.setName('time')
16-
.setDescription('勉強時間を分単位で追加する')),
16+
.setDescription('勉強時間を分単位で追加する')
17+
.setRequired(true)),
1718

1819
/**
1920
* @param {import('../../Bot')} client

0 commit comments

Comments
 (0)