test
This commit is contained in:
parent
bdc75004b8
commit
84010b5931
4
bot.go
4
bot.go
@ -42,11 +42,11 @@ func botHello(m *tb.Message) (string, error) {
|
||||
fmt.Println("botHello :", m.Text)
|
||||
if !m.Private() {
|
||||
fmt.Println("botHello : !m.Private()")
|
||||
return
|
||||
return ``, nil
|
||||
}
|
||||
// fmt.Println("Hello payload :", m.Payload) // <PAYLOAD>
|
||||
PrintText(m)
|
||||
return "hello world", nil
|
||||
return `hello world`, nil
|
||||
}
|
||||
|
||||
func botChannelPost(m *tb.Message) {
|
||||
|
Loading…
Reference in New Issue
Block a user