Show useful message such as command description, usage, etc when insufficient arguments given
Opened this issue · 0 comments
alvin0319 commented
dragonfly/server/cmd/argument.go
Lines 121 to 123 in b226e24
Current DF shows the above message if insufficient arguments are given by a player.
Rather than sending messages like that, showing a usage, description provided by command would definitely be better for a player.
Perhaps having the following and sending this would be good:
func (*c MyCommand) Help() []string {
return []string{
"/mycmd a",
"/mycmd b",
"/mycmd c",
}
}