Project

dblruby

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
A Ruby library for the Top.gg (https://top.gg) API.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 2.0.0
~> 2.1.0.rc1
 Project Readme

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