mirror of https://github.com/SeanOMik/znc-push.git
Copout HELP command
This commit is contained in:
parent
e2906f5aab
commit
828b51bb32
|
@ -41,6 +41,10 @@ you're done!
|
||||||
Commands
|
Commands
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
* `help`
|
||||||
|
|
||||||
|
Links you to this fine document.
|
||||||
|
|
||||||
* `set <option> <value>`
|
* `set <option> <value>`
|
||||||
|
|
||||||
Allows you to modify configuration values.
|
Allows you to modify configuration values.
|
||||||
|
|
|
@ -465,9 +465,14 @@ class CNotifoMod : public CModule
|
||||||
CString message = command.Token(1, true, " ", true);
|
CString message = command.Token(1, true, " ", true);
|
||||||
send_message(message);
|
send_message(message);
|
||||||
}
|
}
|
||||||
|
// HELP command
|
||||||
|
else if (action == "help")
|
||||||
|
{
|
||||||
|
PutModule("View the detailed documentation at https://github.com/jreese/znc-notifo/blob/master/README.md");
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
PutModule("Error: invalid command");
|
PutModule("Error: invalid command, try `help`");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue