feat: implement /recover command for listing and recovering soft-deleted bounties #82
Reference in New Issue
Block a user
Delete Branch "fix/issue-49-recover-command-v2"
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?
Summary
Implements
/recovercommand for listing and recovering soft-deleted bounties.Behavior
/recover(list mode)/recover <id...>/recover 1 2 3Permissions
Output Format
List mode:
Recover mode:
Changes
core/services.py: Addrecover_bountymethod to BountyServiceapps/telegram-bot/commands.py: Addcmd_recoverhandlerapps/telegram-bot/bot.py: Register/recovercommandTesting
All 94 tests pass.
Fixes #49
Pull request closed