/recover + /recover <id...> #49

Closed
opened 2026-04-04 06:45:42 +02:00 by shoko · 0 comments
Owner

Objective

Create /recover command for listing and recovering soft-deleted bounties.

Behavior

/recover (list mode)

  • Shows all recoverable (soft-deleted) bounties
  • Sorted by deleted_at descending (latest first)
  • Same pagination as /bounty

/recover [id...]

  • Recover specific bounty(ies) by ID
  • Can recover multiple: /recover 1 2 3

Permissions

  • Admin-only

Output Format (list)

Recoverable bounties:
[#1] Deleted bounty | 🗑️ Deleted 2 Apr 2026
[#3] Another deleted | 🗓️ Deleted 1 Apr 2026

Success Message

✅ Recovered bounty #1.
✅ Recovered bounty #3.
⛔ Bounty #5 not found or not deleted.

Dependencies

  • #43 (service layer must be done first)
## Objective Create `/recover` command for listing and recovering soft-deleted bounties. ## Behavior ### /recover (list mode) - Shows all recoverable (soft-deleted) bounties - Sorted by `deleted_at` descending (latest first) - Same pagination as /bounty ### /recover <id> [id...] - Recover specific bounty(ies) by ID - Can recover multiple: `/recover 1 2 3` ### Permissions - Admin-only ### Output Format (list) ``` Recoverable bounties: [#1] Deleted bounty | 🗑️ Deleted 2 Apr 2026 [#3] Another deleted | 🗓️ Deleted 1 Apr 2026 ``` ### Success Message ``` ✅ Recovered bounty #1. ✅ Recovered bounty #3. ⛔ Bounty #5 not found or not deleted. ``` ## Dependencies - #43 (service layer must be done first)
shoko added this to the Phase 2 milestone 2026-04-04 06:45:42 +02:00
shoko added the telegram-botphase-2 labels 2026-04-04 06:45:42 +02:00
han was assigned by shoko 2026-04-04 06:45:42 +02:00
shoko closed this issue 2026-04-04 15:29:06 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shoko/jigaido#49