Users reported that end-of-run messages to #pd-news-ticker were no longer appearing when gauntlet teams lost their second game. The news-ticker announcement was only happening for 10-win completions, not 2-loss endings. Changes: - Updated end_run() to accept bot and main_team parameters - Added send_to_channel() call when losses == 2 (natural run end) - Skips news-ticker for manual resets (force_end=True) - Updated post_result() to pass bot and main_team to end_run() - Updated manual reset calls to explicitly pass force_end=True Now when a gauntlet team loses their second game, #pd-news-ticker will show: "The **[Team]** have completed their **[Event]** Gauntlet run with a final record of [wins]-[losses]." The draft completion message to news-ticker was already working correctly at cogs/players_new/gauntlet.py:178-183. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| economy_new | ||
| players_new | ||
| admins.py | ||
| economy.py | ||
| gameplay_legacy.py | ||
| gameplay.py | ||
| owner.py | ||
| players.py | ||
| players.py.backup | ||