Finish migration of daily check-in command to discord.Interaction #19
Labels
No Label
ai-changes-requested
ai-failed
ai-pr-opened
ai-reviewed
ai-reviewing
ai-working
ai-working
bug
enhancement
feature
in-queue
performance
security
tech-debt
todo
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/paper-dynasty-discord#19
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
cogs/economy.py:558has# TODO: complete the migration to an interaction. Surrounding code usesinteraction.edit_original_response, but the full code path was not migrated from the legacy context-based pattern.PR opened: #69
Fix: Removed the
greeting =assignment pattern (ctx-era idiom) from both branches ofdaily_checkin, and replacedawait greeting.edit(...)withawait interaction.edit_original_response(...). Also removed the TODO comment. The function now usesinteraction.edit_original_response()consistently throughout.Fixed in PR #107 (
fix/checkin-and-paperdex-fixes).The two
greeting =assignments were removed soedit_original_response()is called directly, and the one remainingawait greeting.edit(...)call was replaced withawait interaction.edit_original_response(...). The TODO comment was also removed.