-
Notifications
You must be signed in to change notification settings - Fork 1
/
constant.ts
87 lines (57 loc) · 2.61 KB
/
constant.ts
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
export const initKeyboard = [
[{ text: "Start Tasks" }],
[{ text: "💰 Check Your Balance" }, { text: "🗣 Invitation Link" }],
[{ text: "💸 Claim Your $NEAR" }, { text: "📌 Important Message" }],
];
export const cancelKeyboard = [[{ text: "🚫 Cancel" }]];
export const initMsg = (first_name?: string) => `Hello ${first_name}
You can earn $NEAR by completing tasks and refering your friends to our bot.`;
export const initTask = `Please complete the following tasks
🔹 Follow our twitter account
🔸 Retweet the pinned tweet
Complete all task and claim your 0.01 $NEAR
Note: All tasks are mandatory so please complete them carefully. We'll check it manually!`;
export const followTweeter = `Follow our twitter account:
https://www.twitter.com/Nearnft
And send your Twitter account username`;
export const retweet = (
retweetUrl: string
) => `Like and Retweet the pinned tweet:
${retweetUrl}
And send us on your retweeted link`;
export const completed = (first_name: string) =>
`Congratulations ${first_name} 🎊 you completed all the task and your 0.01 $NEAR will be credited into your wallet within 48 hours.`;
export const showBalance = (
balance: number,
username: String
) => `👋 Hello ${username}
Your current Account balance is
${balance} NEAR`;
export const showInviteLink = (
id: number,
refCount: number,
botUsername: String,
username: String
) => `🤝 ${username} here is your invitation link. Share it with friends to earn $NEAR
https://t.me/${botUsername}?start=${id}
There is/are currently ${refCount} users invited`;
export const claimNearMsg = `Please submit your NEAR wallet address
Note📌: Hear you can withdraw your $NEAR to your wallet ! Please give us valid information.
Send your details in this format
$NEAR balance
NEAR wallet address
Example
0.1
name.near`;
export const importantMsg = `If you are done all the tasks and refer minimum 1 friend then you will get 0.01 $NEAR`;
export const unknownCommand = `❌ Unknown Command!
You have send a Message directly into the Bot's chat or
Menu structure has been modified by Admin.
ℹ️ Do not send Messages directly to the Bot or
reload the Menu by pressing /start`;
export const claimedMsg = `You have already claimed your rewards.`;
export const enterWalletAddress = `📝 Please enter your wallet address.`;
export const claimNear = `We will send $NEAR to your submitted wallet address within 48 hours`;
export const userDoesNotExists = `Sorry, You don't have any $NEAR to claim.`;
export const updateRetweetUrl = `Please enter new retweet url`;
export const successUpdateRT = `You have successfully updated Retweet URL.`;