Hello, sorry for my poor knowledge of go:) Does anybody can help me with… how to set some random results instead only one? Also for request
For example:
if Regex("[Hh]ello", msg_body) {
Send(“hi”, “”, chat_id, msg_user_id)
I need something like:
if Regex ("[Hh]ello" or “[Hh]i” or … or …
Send ("hi’ or … or … )
Do you mean that what you Send should depend on which regex is matched? Is the string being sent what was matched by the regex? What is supposed to be random?