A ruby library gem for Discord Bot list.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
test
.codeclimate.yml
.gitignore
.rubocop.yml
.travis.yml
README.md
Rakefile
dblruby.gemspec

README.md

DBL-Ruby

A ruby library for Discord Bot list.

Gem Gem Build Status Discord Server

What is this for?

I mean, why not.

Usage

Put this near the top of your ruby bot:

require 'dblruby'

DBL = DBLRuby.new(api_key, bot_id)

Now, when you need to run a method, run DBL.method.

Example for getting server count.

bot.command(:servercount) do |event|
  event.respond "I am on #{DBL.stats.getservercount} servers!"
end

Assuming the server count is 100, the output after running servercount would be:

"I am on 100 servers!"

But ruby sucks

NO U