Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
tubuanha authored and actions-user committed Mar 16, 2022
1 parent 50c853a commit 5174fcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions src/Commands/progress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ module.exports = {
.setName('progress')
.setDescription('メンバーの進行状況を検索します。')
.addUserOption((option) =>
option
.setName('user')
.setDescription('進行状況を検索するユーザー')
.setRequired(true)
option.setName('user').setDescription('進行状況を検索するユーザー').setRequired(true)
),
async execute(interaction: CommandInteraction) {
const userId = interaction.options.getUser('user')?.id;
Expand Down
5 changes: 1 addition & 4 deletions src/Commands/rename.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ module.exports = {
.setName('rename')
.setDescription('スレッドのタイトルを変更します。')
.addStringOption((option) =>
option
.setName('new-title')
.setDescription('スレッドの新しいタイトル')
.setRequired(true)
option.setName('new-title').setDescription('スレッドの新しいタイトル').setRequired(true)
),
async execute(interaction: CommandInteraction) {
const newTitle: any = interaction.options.getString('new-title');
Expand Down

0 comments on commit 5174fcb

Please sign in to comment.