diff --git a/src/commands/slashcommands/archive.ts b/src/commands/slashcommands/archive.ts index 0f68026..451a877 100644 --- a/src/commands/slashcommands/archive.ts +++ b/src/commands/slashcommands/archive.ts @@ -46,7 +46,7 @@ export default new SlashCommand({ ) as SlashCommandBuilder, execute: async ({ interaction, args }) => { - await interaction.deferReply({ ephemeral: true }); + await reply(interaction, "処理を実行中です..."); const targetCategory = args.getChannel( "保存するカテゴリ", diff --git a/src/commands/slashcommands/copy.ts b/src/commands/slashcommands/copy.ts index 4e6897a..032800e 100644 --- a/src/commands/slashcommands/copy.ts +++ b/src/commands/slashcommands/copy.ts @@ -29,7 +29,7 @@ export default new SlashCommand({ ) as SlashCommandBuilder, execute: async ({ interaction, args }) => { - await interaction.deferReply({ ephemeral: true }); + await reply(interaction, "処理を実行中です..."); const originalChannel = (args.getChannel("対象") ?? interaction.channel) as GuildChannel;