first iteration of help of help command

Former-commit-id: 1c08dc862d4d12d048c82445575990d7db467bfa
botanswer
AnisB 3 years ago
parent 6b75ecd45b
commit 9f673d799c

@ -108,6 +108,11 @@ type HelloCmd struct {
}
func (*HelloCmd) Run(args []string) (string, error) {
for _, result := range args {
if result == "help" {
return "help of hello", nil
}
}
return "Hi, My name is Skynet 1.0. \n How can I help you ? ", nil
}

Loading…
Cancel
Save