aboutsummaryrefslogtreecommitdiff
path: root/plugin_chatcmd.go
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2021-09-10 10:50:31 +0200
committerHimbeerserverDE <himbeerserverde@gmail.com>2021-09-10 10:50:31 +0200
commit1c5a72c3ef286d323edbd32ee39e9a4f88f9570a (patch)
tree146f26591fbef3bd7f8af01bd82e9ac11ea908a9 /plugin_chatcmd.go
parentc02d9a2adb044646986561be2fa72e578bc0cd32 (diff)
Add Help and Usage strings to ChatCmd
Diffstat (limited to 'plugin_chatcmd.go')
-rw-r--r--plugin_chatcmd.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin_chatcmd.go b/plugin_chatcmd.go
index c5915dc..7df2365 100644
--- a/plugin_chatcmd.go
+++ b/plugin_chatcmd.go
@@ -5,6 +5,8 @@ import "sync"
type ChatCmd struct {
Name string
Perm string
+ Help string
+ Usage string
Handler func(*ClientConn, ...string) string
}