diff --git a/public/index.html.erb b/public/index.html.erb index 6ed7138..bbbfa21 100644 --- a/public/index.html.erb +++ b/public/index.html.erb @@ -26,7 +26,10 @@

- 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 " (eg. "help api") to get a list of subcommands. ``` EOS