allow numbers in command name
Jesse Olson j3s@c3f.net
Wed, 15 Dec 2021 11:36:16 +0000
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
main.go
→
main.go
@@ -85,7 +85,7 @@
// !rick=https://www.youtube.com/watch?v=dQw4w9WgXcQ // this is handled separately because of weird mumble HTML // business - setcmd := regexp.MustCompile(` > [a-z]+`) + setcmd := regexp.MustCompile(` > [a-z0-9]+`) cmd := setcmd.FindString(e.Message) fmt.Println(e.Message) fmt.Println(cmd)