Allow IL moves to post to transaction log during freeze period
IL moves (/ilmove) are intra-team transactions that should always be visible immediately. Only scheduled transactions (/dropadd) need to remain hidden during the freeze period. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
7a5e85323b
commit
8ab5e025b2
@ -291,11 +291,10 @@ class SubmitConfirmationModal(discord.ui.Modal):
|
|||||||
)
|
)
|
||||||
player_updates.append(updated_player)
|
player_updates.append(updated_player)
|
||||||
|
|
||||||
# Post to #transaction-log channel (only when league is NOT frozen)
|
# Post to #transaction-log channel
|
||||||
# During freeze period, IL moves are hidden until Saturday processing
|
# IL moves always post immediately - they're intra-team and don't need freeze hiding
|
||||||
if not current_state.freeze:
|
bot = interaction.client
|
||||||
bot = interaction.client
|
await post_transaction_to_log(bot, created_transactions, team=self.builder.team)
|
||||||
await post_transaction_to_log(bot, created_transactions, team=self.builder.team)
|
|
||||||
|
|
||||||
# Create success message
|
# Create success message
|
||||||
success_msg = f"✅ **IL Move Executed Successfully!**\n\n"
|
success_msg = f"✅ **IL Move Executed Successfully!**\n\n"
|
||||||
@ -309,9 +308,6 @@ class SubmitConfirmationModal(discord.ui.Modal):
|
|||||||
|
|
||||||
success_msg += f"\n✅ **All players have been moved to their new teams immediately**"
|
success_msg += f"\n✅ **All players have been moved to their new teams immediately**"
|
||||||
|
|
||||||
if current_state.freeze:
|
|
||||||
success_msg += f"\n🔒 Move logged but hidden during freeze period - will be revealed Saturday"
|
|
||||||
|
|
||||||
await interaction.followup.send(success_msg, ephemeral=True)
|
await interaction.followup.send(success_msg, ephemeral=True)
|
||||||
|
|
||||||
# Clear the builder after successful submission
|
# Clear the builder after successful submission
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user