aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorJokler <jokler.contact@gmail.com>2018-05-12 17:18:25 +0200
committerJokler <jokler.contact@gmail.com>2018-05-12 17:18:25 +0200
commit8e4b07b759004793e1308ae2f98d18703878e27c (patch)
tree829f399841953241b67a9b4c62473bf8b1e81fcb /src/plugins
parenta6caefb849967324c07cb6d4a3d312a5b18f0fef (diff)
downloadfrippy-8e4b07b759004793e1308ae2f98d18703878e27c.tar.gz
frippy-8e4b07b759004793e1308ae2f98d18703878e27c.zip
Help: Send a static list of available commands
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/help.rs4
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)?)
}