From d1099e4862f0d1e6a4a1c50bc7edce1b1aba56cd Mon Sep 17 00:00:00 2001 From: gx1285 Date: Sun, 25 Feb 2024 16:57:55 +0900 Subject: [PATCH] =?UTF-8?q?=E5=BF=9C=E6=80=A5=E5=87=A6=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/interactions/appCommand.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/interactions/appCommand.ts b/src/interactions/appCommand.ts index ab663f2..82c6ba2 100644 --- a/src/interactions/appCommand.ts +++ b/src/interactions/appCommand.ts @@ -42,7 +42,6 @@ export default async function (interaction: BaseInteraction) { : 1, ), ); - if (botData.reboot) return await interaction.error('起動中', '起動完了までお待ちください', true); if (command.data.ownersOnly && !botData.owners.includes(interaction.user.id)) return await interaction.error('あなたはこのコマンドを利用できません', '管理者専用コマンドです', true); if (command.data.modOnly && !botData.mods.includes(interaction.user.id)) @@ -174,7 +173,6 @@ export default async function (interaction: BaseInteraction) { : 1, ), ); - if (botData.reboot) return await interaction.error('起動中', '起動完了までお待ちください', true); if (command.data.ownersOnly && !botData.owners.includes(interaction.user.id)) return await interaction.error('あなたはこのコマンドを利用できません', '管理者専用コマンドです', true); if (command.data.modOnly && !botData.mods.includes(interaction.user.id)) @@ -306,7 +304,6 @@ export default async function (interaction: BaseInteraction) { : 1, ), ); - if (botData.reboot) return await interaction.error('起動中', '起動完了までお待ちください', true); if (command.data.ownersOnly && !botData.owners.includes(interaction.user.id)) return await interaction.error('あなたはこのコマンドを利用できません', '管理者専用コマンドです', true); if (command.data.modOnly && !botData.mods.includes(interaction.user.id))