-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresponse_en.go
53 lines (49 loc) · 1.72 KB
/
response_en.go
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
package main
type PhraseEN struct{}
// Commands
func (PhraseEN) CmdStart() string {
return "Hello, #{username}.\n" +
"I'm SoundCloud downloader bot.\n" +
"Send me an url and i will respond with attached audio file"
}
func (PhraseEN) CmdHelp() string {
return "Send me an url and i will download it for you.\n" +
"If something went wrong - first make sure url is valid and song available." +
"Then try send message again." +
"If error still persist - contact with developer (link in description)\n" +
"\n===========================================\n" +
"Currently supported services: \n" +
"= soundcloud.com [only direct song urls yet]"
}
func (PhraseEN) CmdUnknown() string {
return "I don't know that command. " +
"Use /help for additional info"
}
// Process explaining
func (PhraseEN) ProcessStart() string {
return "Please wait..."
}
func (PhraseEN) ProcessUploading() string {
return "Everything done. Uploading song to you..."
}
// Exceptions
func (PhraseEN) ErrNotURL() string {
return "Please make sure this URL is valid and try again"
}
func (PhraseEN) ErrUndefined() string {
return "There is some problems with this song. Please try again or contact with developer\n" +
"Use /help for additional info"
}
func (PhraseEN) ErrPlaylist() string {
return "Sorry, but i don't work with playlists yet. Use /help for more info"
}
func (PhraseEN) ErrUnsupportedFormat() string {
return "This format unsupported yet. Use /help for more info"
}
func (PhraseEN) ErrUnsupportedService() string {
return "This service unsupported yet. Use /help for more info"
}
func (PhraseEN) ErrUnavailableSong() string {
return "Can't load this song. Make sure it is available and try again.\n" +
"Otherwise, use /help for additional info"
}