add log debug
This commit is contained in:
parent
8e1b0c1ef6
commit
7564b5849c
@ -1,6 +1,7 @@
|
|||||||
package msgcmd
|
package msgcmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
@ -34,6 +35,7 @@ func ParseLineMsg(txt, replyToken string, source *lineobj.SourceObject) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
firstNum := []rune(strs[0])[0]
|
firstNum := []rune(strs[0])[0]
|
||||||
|
fmt.Println("Char :: ", strs[0][0], " Number :: ", firstNum)
|
||||||
if firstNum == 33 || firstNum == 65281 {
|
if firstNum == 33 || firstNum == 65281 {
|
||||||
// nor cmd
|
// nor cmd
|
||||||
cmd := strs[0][1:]
|
cmd := strs[0][1:]
|
||||||
|
Loading…
Reference in New Issue
Block a user