Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.
ChewPublic archive

About

A ruby library gem for Top.gg / Discord Bot list.

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

 

History

127 Commits

Folders and files

Repository files navigation

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!"

Documentation

Stuck? Know Ruby? Check out the documentation.

But ruby sucks

NO U

About

A ruby library gem for Top.gg / Discord Bot list.

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages