Skip to content

Commit

Permalink
Enable manual pp submission
Browse files Browse the repository at this point in the history
  • Loading branch information
Rian8337 committed Oct 8, 2024
1 parent 12df043 commit d370a36
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,6 @@ import { CommandHelper } from "@alice-utils/helpers/CommandHelper";
import { InteractionHelper } from "@alice-utils/helpers/InteractionHelper";

export const run: SlashSubcommandGroup["run"] = async (_, interaction) => {
if (!Config.isDebug) {
interaction.ephemeral = true;

return InteractionHelper.reply(interaction, {
content: MessageCreator.createReject(
"I'm sorry, manual pp submissions have been disabled while recalculations are ongoing!",
),
});
}

if (
!CommandHelper.isExecutedByBotOwner(interaction) &&
!Config.ppChannel.includes(interaction.channelId)
Expand Down

0 comments on commit d370a36

Please sign in to comment.