Run script/setup
and ensure that you have the SLACK_API_TOKEN
configured in .env
.
Run bot with script/server
.
> user [8:37 PM]: @bot: commands
> bot [8:37 PM]:
> commands
> @bot: jokeme # tells you a joke
> @bot: keyword # ruby ri doc explaination
> user [8:37 PM]: @bot: jokeme
> bot [8:37 PM]:
> The early bird might get the worm, but the second mouse gets the cheese.
> user [8:37 PM]: @bot: Array#first
> bot [8:37 PM]:
> # Array.first
> ...