README.md in slack-smart-bot-0.2.0 vs README.md in slack-smart-bot-0.3.0
- old
+ new
@@ -55,10 +55,11 @@
The rules file can be edited and will be only affecting this particular bot.
You can add all the rules you want for your bot in the rules file, this is an example:
```ruby
-def rules(from, command, processed)
+def rules(user, command, processed, id_user)
+ from = user.name
firstname = from.split(" ").first
case command
# help: `echo SOMETHING`
# help: repeats SOMETHING