This commit is contained in:
shoopea 2019-05-10 10:32:22 +08:00
parent 4d16cd5112
commit 377dc2412c

2
bot.go
View File

@ -44,6 +44,7 @@ func botHello(m *tb.Message) {
// fmt.Println("Hello payload :", m.Payload) // <PAYLOAD>
PrintText(m)
b.Send(m.Sender, "hello world")
fmt.Println("botHello : hello world")
}
func botChannelPost(m *tb.Message) {
@ -73,4 +74,5 @@ func botRescanMsg(m *tb.Message) {
// fmt.Println("Hello payload :", m.Payload) // <PAYLOAD>
PrintText(m)
b.Send(m.Sender, "rescan")
fmt.Println("botRescanMsg : rescan")
}