Generator of fake data such as names, addresses, and phone numbers for the Lita chat bot.
At first, see the documentation for Lita: http://docs.lita.io/
Add lita-faker to your Lita instance's Gemfile:
gem 'lita-faker', '~> 0.1.0'
Faker requires locale. Put the following to config:
Lita.configure do |config|
config.robot.locale = 'en-US'
end
lita-faker provides all commands of Faker which don't require arguments
Commands are written in snake_case
, so Faker::PhoneNumber.cell_phone
became faker phone_number cell_phone
fake
is alias for faker
You: lita fake name name
Lita: Halie Waelchi
You: lita faker lorem sentence
Lita: Eveniet nemo tempore voluptatem et voluptas ea.