From 0ce9597443956e0ffa0d152e55ff1125e773c1d4 Mon Sep 17 00:00:00 2001
From: dblock
- For example, try posting a message into the #general channel with
chat postMessage --as_user=true --text="Hello World" --channel=#general+ For example, DM the bot. +
auth test+ Then invite the bot to #general and post a message into it via a DM. +
chat postMessage --as_user=true --text="Hello World" --channel=#general
diff --git a/slack-api-explorer/commands/help.rb b/slack-api-explorer/commands/help.rb
index 392a391..1b49e0d 100644
--- a/slack-api-explorer/commands/help.rb
+++ b/slack-api-explorer/commands/help.rb
@@ -18,6 +18,9 @@ def self.help_for(expression = nil)
Commands
--------
#{`slack help`.gsub(/.*?(COMMANDS)/m, '').gsub(/^( )/, '')}
+
+ Not sure where to start? Try "auth test", then invite the bot to #general and DM it "chat postMessage --as_user=true --text='Hello World' --channel=#general".
+
Most commands contain subcommands, try "help