Fumimi is a Danbooru Discord bot.
-
Click 'New App'
-
Choose an app name.
-
Note your client ID and client secret.
-
Add a bot user.
-
Save your bot token.
-
Invite bot to server.
-
git clone https://github.com/evazion/fumimi-discord.git
-
bundle install
-
Configure
.env
. -
Run
bin/fumimi
- https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/v0.28.0/guides/authentication
- https://console.developers.google.com/project
- Create new project.
- Go to API manager.
- Find and enable the Big Query API.
- Click Credentials in the sidebar.
- Create service account and download .json keyfile.
- Set GOOGLE_CLOUD_PROJECT in .env.
- Set GOOGLE_CLOUD_KEYFILE_CONTENTS in .env.
gcloud auth application-default login
Run bin/fumimi
to start the bot. Use /help
for a list of commands.
After checking out the repo, run bin/setup
to install dependencies. Then, run
rake test
to run the tests. You can also run bin/console
for an interactive
prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To
release a new version, update the version number in version.rb
, and then run
bundle exec rake release
, which will create a git tag for the version, push
git commits and tags, and push the .gem
file to
rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/danbooru/fumimi-discord.
The gem is available as open source under the terms of the MIT License.