b.Handle("/hello", func(m *tb.Message) { b.Send(m.Sender, "hello world") })
func sayHi(m *tb.Message) {...}, so that I can give an alias to the above /hello command (say to define a /hi command), but found that I cannot use bwithin it any more.--
You received this message because you are subscribed to a topic in the Google Groups "golang-nuts" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/golang-nuts/iAPWMNP5LSk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.