README.md in slack-smart-bot-1.3.1 vs README.md in slack-smart-bot-1.4.0
- old
+ new
@@ -45,11 +45,10 @@
settings = {
# the channel that will act like the master channel, main channel
master_channel: 'my_master_channel',
masters: ["mario"], #names of the master users
- nick: 'smart-bot', # the smart bot name
token: 'xxxxxxxxxxxxxxxxxx' # the API Slack token
}
puts "Connecting #{settings.inspect}"
SlackSmartBot.new(settings).listen
@@ -284,16 +283,16 @@
`ES4799209592433480943244`
`ES8888795057132445752702`
In case you want to use a shortcut as a inline shortcut inside a command you can do it by adding a $:
Example:
->**_Peter>_** `!add shortcut cust1: 3488823-1233`
+>**_Peter>_** `!add shortcut cust1: 3488823-1233`
>**_Smart-Bot>_** `shortcut added`
->**_Peter>_** `!add shortcut cust2: 1111555-6688`
+>**_Peter>_** `!add shortcut cust2: 1111555-6688`
>**_Smart-Bot>_** `shortcut added`
>**_Peter>_** `!run tests $cust1`
>**_Smart-Bot>_** `Running tests for customers 3488823-1233`
->**_Peter>_** `!run tests $cust1 $cust2`
+>**_Peter>_** `!run tests $cust1 $cust2`
>**_Smart-Bot>_** `Running tests for customers 3488823-1233 1111555-6688`
To see available shortcuts: **_`see shortcuts`_** and to delete a particular shortcut: **_`delete shortcut NAME`_**
### Routines