Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 589 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 589 Bytes

dokkoi

Dokkoi is a discord bot.

Development

Environment variables

Dokkoi needs some environment variables to run.

  • DISCORD_TOKEN : A token of discord bot
  • CUSTOMSEARCH_API_KEY : An api key of google custom search api
  • CUSTOMSEARCH_ENGINE_ID : An engine id of google custom search api
  • FIREBASE_RTDB_URI : A firebase realtime database uri
  • FIREBASE_PRIVATE_KEY_PATH : A path of firebase private key json file

Run on local machine

bundle exec ruby bot.rb

Run tests

bundle exec rake test

Run lint

bundle exec rubocop