Discord bot to simulate a DQ battle.
- Ruby
- Redis
First, install bundle:
$ bundle install
Next, run figaro install
$ bundle exec figaro install
or manually create config file at config/application.yml.
It needs to contain the following keys:
discord_bot_token: [your discord bot token]
discord_client_id: [your discord client id]
redis_host: [your redis host ip/hostname]
redis_port: [your redis server port]
redis_db: [your redis db name for the app]
Finally, execute index.rb
$ bundle exec ruby bin/index.rb
Kind of ugly, but for now (Minitest) tests can be run via the shell with:
$ bundle exec ruby -Ilib -e 'ARGV.each { |f| require f }' ./tests/**/test_*.rb