diff options
-rw-r--r-- | .gitignore | 15 | ||||
-rw-r--r-- | chatcommands.go | 10 | ||||
-rw-r--r-- | go.mod | 3 |
3 files changed, 28 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..66fd13c --- /dev/null +++ b/.gitignore @@ -0,0 +1,15 @@ +# Binaries for programs and plugins +*.exe +*.exe~ +*.dll +*.so +*.dylib + +# Test binary, built with `go test -c` +*.test + +# Output of the go coverage tool, specifically when used with LiteIDE +*.out + +# Dependency directories (remove the comment below to include it) +# vendor/ diff --git a/chatcommands.go b/chatcommands.go new file mode 100644 index 0000000..568d1eb --- /dev/null +++ b/chatcommands.go @@ -0,0 +1,10 @@ +package main + +func HandleChatCmd(cmd string, args []string) bool { + switch cmd { + default: + return false + } + + return true +} @@ -0,0 +1,3 @@ +module github.com/HimbeerserverDE/mt-multiserver-chatcommands + +go 1.17 |