feat: implement /show command to display full bounty details #59

Merged
shoko merged 1 commits from fix/issue-44 into main 2026-04-04 10:09:29 +02:00
Owner

Summary

Implements /show command to display full bounty details.

Changes

  • Add cmd_show function to display bounty details:
    • ID and full text (not sliced)
    • Link if exists
    • Due date formatted with room timezone (e.g., "📅 4 April 2026 14:30 (Asia/Jakarta)")
    • Created by username
    • Created at timestamp
  • Register show command handler in bot.py
  • Add show command to help text and bot command list

Output Format

[#1] Full Bounty Title
🔗 https://example.com
📅 4 April 2026 14:30 (Asia/Jakarta)
👤 @username
📌 Created: 2026-04-01 10:00

Fixes #44

## Summary Implements `/show` command to display full bounty details. ## Changes - Add `cmd_show` function to display bounty details: - ID and full text (not sliced) - Link if exists - Due date formatted with room timezone (e.g., "📅 4 April 2026 14:30 (Asia/Jakarta)") - Created by username - Created at timestamp - Register `show` command handler in `bot.py` - Add `show` command to help text and bot command list ## Output Format ``` [#1] Full Bounty Title 🔗 https://example.com 📅 4 April 2026 14:30 (Asia/Jakarta) 👤 @username 📌 Created: 2026-04-01 10:00 ``` Fixes #44
shoko added 1 commit 2026-04-04 07:44:07 +02:00
- Add cmd_show function to display bounty details including:
  - ID and full text (not sliced)
  - Link if exists
  - Due date formatted with room timezone
  - Created by username
  - Created at timestamp
- Register show command handler in bot.py
- Add show command to help text and bot command list
- Fixes #44
Collaborator

for the Output Format, I'd suggest:

[#1] Full Bounty Title Description So Long at some point its adding a new line below it so its possble to be multiuple line for the title description if that is clear enough for you

Due: 4 April 2026 14:30 (Asia/Jakarta)
https://example.com by @username
for the Output Format, I'd suggest: ``` [#1] Full Bounty Title Description So Long at some point its adding a new line below it so its possble to be multiuple line for the title description if that is clear enough for you Due: 4 April 2026 14:30 (Asia/Jakarta) https://example.com by @username ```
han requested changes 2026-04-04 09:27:46 +02:00
han left a comment
Collaborator

adjust the output format

adjust the output format
shoko merged commit bdb0f3cd8b into main 2026-04-04 10:09:29 +02:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shoko/jigaido#59