Skip to content

Commit

Permalink
応急処置
Browse files Browse the repository at this point in the history
  • Loading branch information
gx1285 authored Feb 25, 2024
1 parent d247ab9 commit d1099e4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/interactions/appCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down Expand Up @@ -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))
Expand Down Expand Up @@ -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))
Expand Down

0 comments on commit d1099e4

Please sign in to comment.