/delete: soft delete + multi-ID + admin-only #47

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

Objective

Update /delete command with soft delete, multi-ID support, and admin permission.

Changes

Soft Delete

  • Set deleted_at timestamp instead of actually deleting
  • Bounty remains in storage but filtered from normal queries

Multi-ID Support

  • /delete 1 2 3 - delete bounties 1, 2, and 3 at once
  • Report success/failure for each ID

Admin-Only

  • Only admins can use /delete (changed from creator-only)

Success Message

✅ Bounty #1 deleted.
✅ Bounty #2 deleted.
⛔ Bounty #3 not found.

Dependencies

  • #43 (service layer must be done first)
## Objective Update `/delete` command with soft delete, multi-ID support, and admin permission. ## Changes ### Soft Delete - Set `deleted_at` timestamp instead of actually deleting - Bounty remains in storage but filtered from normal queries ### Multi-ID Support - `/delete 1 2 3` - delete bounties 1, 2, and 3 at once - Report success/failure for each ID ### Admin-Only - Only admins can use /delete (changed from creator-only) ### Success Message ``` ✅ Bounty #1 deleted. ✅ Bounty #2 deleted. ⛔ Bounty #3 not found. ``` ## Dependencies - #43 (service layer must be done first)
shoko added this to the Phase 2 milestone 2026-04-04 06:45:29 +02:00
shoko added the telegram-botphase-2 labels 2026-04-04 06:45:29 +02:00
han was assigned by shoko 2026-04-04 06:45:29 +02:00
shoko closed this issue 2026-04-04 08:54:56 +02:00
shoko reopened this issue 2026-04-04 09:24:49 +02:00
shoko closed this issue 2026-04-04 15:28:37 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shoko/jigaido#47