test
This commit is contained in:
parent
4d16cd5112
commit
377dc2412c
2
bot.go
2
bot.go
@ -44,6 +44,7 @@ func botHello(m *tb.Message) {
|
|||||||
// fmt.Println("Hello payload :", m.Payload) // <PAYLOAD>
|
// fmt.Println("Hello payload :", m.Payload) // <PAYLOAD>
|
||||||
PrintText(m)
|
PrintText(m)
|
||||||
b.Send(m.Sender, "hello world")
|
b.Send(m.Sender, "hello world")
|
||||||
|
fmt.Println("botHello : hello world")
|
||||||
}
|
}
|
||||||
|
|
||||||
func botChannelPost(m *tb.Message) {
|
func botChannelPost(m *tb.Message) {
|
||||||
@ -73,4 +74,5 @@ func botRescanMsg(m *tb.Message) {
|
|||||||
// fmt.Println("Hello payload :", m.Payload) // <PAYLOAD>
|
// fmt.Println("Hello payload :", m.Payload) // <PAYLOAD>
|
||||||
PrintText(m)
|
PrintText(m)
|
||||||
b.Send(m.Sender, "rescan")
|
b.Send(m.Sender, "rescan")
|
||||||
|
fmt.Println("botRescanMsg : rescan")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user