-
Notifications
You must be signed in to change notification settings - Fork 0
/
messages.js
60 lines (44 loc) · 1.39 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
52
53
54
55
56
57
58
59
60
const helpMsg = `
<HH:MM> - set notification (<em>e.g. 12:30</em> )
/ls - list notifications and timezone
/rm <HH:MM> - remove notification (<em>e.g. /rm 12:30</em> )
/e_tz <newTz> - set new timezone (<em>e.g. /e_tz Moscow</em> )
`;
const start = `
Hi! You can use this nice commands:
${helpMsg}
So... What time do you prefer for eye exercises?
Don't forget to use format HH:MM e.g. 15:30`;
const askLocation = 'Time set! And the last. I should figure out timezone from your location. Please type your city name e.g. \'Minsk\'';
const cantRecongnizeTime = '\'Oh no! I can\'t recognize time. Please check format HH:MM e.g. 06:30 or 18:00\'';
const cantRecongnizeLocation = 'Oh no! I can\'t recognize location. Please use latin e.g. Minsk';
const haventNotifications = 'You haven\'t any notifications yet. Just write <HH:MM> for setup it e.g. 12:30';
const notUnderstand = 'I don\'t understand you :( You can try /help to list available commands';
const oops = 'Ops! Something went wrong';
const notifShort = 'Let\'s do some eyes exercises!';
const notif =
`${notifShort}
Postpone it for:
`;
const skipped =
`${notifShort}
Skipped...
`;
const done =
`${notifShort}
Done!
`;
module.exports = {
start,
askLocation,
cantRecongnizeTime,
cantRecongnizeLocation,
haventNotifications,
helpMsg,
oops,
notif,
notUnderstand,
notifShort,
skipped,
done,
};