From 8e4b07b759004793e1308ae2f98d18703878e27c Mon Sep 17 00:00:00 2001 From: Jokler Date: Sat, 12 May 2018 17:18:25 +0200 Subject: Help: Send a static list of available commands --- src/plugins/help.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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)?) } -- cgit v1.2.3-70-g09d2