diff options
| author | Jokler <jokler.contact@gmail.com> | 2018-05-12 17:18:25 +0200 |
|---|---|---|
| committer | Jokler <jokler.contact@gmail.com> | 2018-05-12 17:18:25 +0200 |
| commit | 8e4b07b759004793e1308ae2f98d18703878e27c (patch) | |
| tree | 829f399841953241b67a9b4c62473bf8b1e81fcb /src | |
| parent | a6caefb849967324c07cb6d4a3d312a5b18f0fef (diff) | |
| download | frippy-8e4b07b759004793e1308ae2f98d18703878e27c.tar.gz frippy-8e4b07b759004793e1308ae2f98d18703878e27c.zip | |
Help: Send a static list of available commands
Diffstat (limited to 'src')
| -rw-r--r-- | src/plugins/help.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/help.rs b/src/plugins/help.rs index 9eb152a..a02931c 100644 --- a/src/plugins/help.rs +++ b/src/plugins/help.rs @@ -26,7 +26,9 @@ impl Plugin for Help { fn command(&self, client: &IrcClient, command: PluginCommand) -> Result<(), FrippyError> { Ok(client - .send_notice(&command.source, "Help has not been added yet.") + .send_notice(&command.source, "Available commands: help, currency, tell, factoids\r\n\ + For more detailed help call help on the specific command.\r\n\ + Example: 'currency help'") .context(FrippyErrorKind::Connection)?) } |
