-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmessages.js
51 lines (41 loc) · 1.57 KB
/
messages.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
module.exports = {
startMessage: `
Welcome to the CashuMints Telegram Bot! Here's how to get started:
1. **Using the Bot in Private Chat:**
- Send me a Cashu token, and I’ll provide you with a QR code and the status of the token.
2. **Using the Bot in Group Chats:**
- Add me to a group and give me admin permissions with only the 'Remove Messages' permission enabled.
- I only need this permission to remove Cashu tokens after processing them to keep the chat clean and tidy.
Happy Satoshi hunting!
`,
helpMessage: `
Here’s how to use the CashuMints Telegram Bot:
1. **Send a Cashu token:** If you send me a Cashu token, I’ll generate a QR code and check its status.
2. **Commands:**
- /cashumints top: Show top mints.
- /cashuwallets top: Show top wallets.
- /cashudecode [token]: Decode a Cashu token.
If you have any questions, feel free to ask!
`,
errorMessage: 'Error processing your request. Please try again later.',
pendingMessage: (username, mintName, mintLink, claimLink) => `
${username} shared a Cashu token 🥜
Mint: [${mintName}](${mintLink})
Click here to claim to Lightning: [Claim link](${claimLink})
`,
claimedMessage: (username) => `
${username} shared a Cashu token 🥜
Cashu token has been claimed ✅
`,
mintRequestMessage: (pr, hash) => `
Mint request successful!
Payment request (invoice): \`${pr}\`
Hash: \`${hash}\`
`,
tokenMessage: (encoded) => `
Here is your encoded token:
\`${encoded}\`
`,
requestHashMessage: 'Please provide the hash to check the invoice.',
tokenStatusButtonPending: 'Token Status: Pending',
};