Skip to content

Commit 99e7a2a

Browse files
committed
upate readme and detection conditions
1 parent 66449bb commit 99e7a2a

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,20 @@
2424
- Select the repositories or organizations where you want to enable **Zapounty**.
2525

2626
3. **Add a Zap Reward to an Issue**
27-
- Apply the `zap reward` label to an existing issue or create a new one.
27+
- Apply the `zap reward` or `zapounty` label to an existing issue or create a new one.
2828

2929
4. **Specify the Reward Amount**
3030
- Add a new comment to the issue using the following template:
3131
```
3232
zap reward:
3333
amount: 2000
3434
```
35+
or
36+
37+
```
38+
zapounty:
39+
amount: 2000
40+
```
3541
- The **amount** should be specified in **satoshis (sats)**.
3642
3743
## Contributing

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function generateMessage(
7070
return (
7171
`🌟 New Zap Notification 🌟\n\n` +
7272
`**Issue:** 📌 ${title}\n\n` +
73-
(amount ? `**Amount:** ${amount} ⚡ Sats \n\n` : "") +
73+
(amount ? `**Amount:** ${amount} ⚡ Sats \n\n` : "???") +
7474
`**Language:** 💻 ${language}\n\n` +
7575
`Triggered by: ${trigger}\n\n` +
7676
`🔗 View Issue Here:\n${link}\n\n` +

0 commit comments

Comments
 (0)