Skip to content

@Chew Chew released this Apr 22, 2019 · 1 commit to master since this release

  • [#6] Fixed a bug where discriminator still showed integer after way too long.
  • Fixed gem metadata
Assets 2

@Chew Chew released this Dec 5, 2018 · 4 commits to master since this release

This release fixed a bug where it really didn't work. lol rip

This gem is released as 1.1.2.1 on rubygems, it's this version, ur fine

Assets 2

@Chew Chew released this Nov 15, 2018 · 6 commits to master since this release

1.1.1 fixed a bug that made widgets not work. Below is the 1.1.0 changelog.

Additions

  • Widgets! You can finally make widgets!! Yay! More documentation on the wiki.
  • New #weekend? method in the main class, same as #weekend.weekend?

Probably more but hey

Assets 2

@Chew Chew released this Nov 14, 2018

Additions

  • Widgets! You can finally make widgets!! Yay! More documentation on the wiki.
  • New #weekend? method in the main class, same as #weekend.weekend?

Probably more but hey

Assets 2

@Chew Chew released this Nov 10, 2018 · 17 commits to master since this release

We just hit 1.0.0. This means everything I want to add is implemented. Let's see what's changed.

Additions

  • #self method, this returns a Bot with the currently instantiated DBL itself. This allows you to find more of your own stats instead of running DBL.loadbot(DBL.id).
  • #search method, this allows you to search bots! More info on the wiki.
  • Bot#donatebotguildid method, this allows you to see the bot's donatebot guild id, if there is one.
  • New #weekend.weekend?. This allows you to see if it's the weekend, for voting.

Changes

  • #loadbot and #loaduser are now #bot and #user. Simply running DBL.bot(id) will work the same as DBL.loadbot(id). This change isn't breaking because loadbot and loaduser will work, but are deprecated and will be removed soon.
  • Bot#discriminator now returns a string, because if it were an int, the discriminator of 5000 would just return 5.
  • Bot#certified? is now the main method name, however all the 4 method names remain.

Removed

  • [Breaking] Removed Bot#vanity and Bot#legacy? because the API no longer returns them.
Assets 2
Pre-release

@Chew Chew released this Nov 10, 2018

Additions

  • Shard support to #updateservercount, now with 2 new optional arguments, shard_id and shard_count. So, for a bot's count on shard one, you would send DBL.stats.updateservercount(10, 1, 8) if you have 8 shards. More on the wiki.

That's all this release was. Shard support. Go home.

Seriously

Assets 2
Pre-release

@Chew Chew released this Jun 18, 2018 · 36 commits to master since this release

  • GH-5 - Fixed a bug where certified? in the User class wouldn't return the user's certified status.

Hey, make sure you check out our discord channel to suggest things, or just to say Hi!

Assets 2
Pre-release

@Chew Chew released this May 11, 2018 · 38 commits to master since this release

  • Fixed some descriptions of the methods, based on dbl's
  • Added 2 new methods to bot class and user class, #error? to see if there is an error, and #error to get the error.
  • Added the #defavatar method to get a user's def avatar, idk.
  • Added #time method, which converts what DBL gives us to a Time variable, ready to use in an embed footer!
  • Added method #vanity to get a bot's vanity url.
  • Added method #banner to get the user's banner.
  • Removed debug #fail methods.

Hey, make sure you check out our discord channel to suggest things, or just to say Hi!

Assets 2
Pre-release

@Chew Chew released this Apr 25, 2018 · 55 commits to master since this release

Pretty much everything up until the final release is error handling and bug fixing. There are a few more things I would like to add before then, but the bulk is error saving.

Additions

  • fd875e4 - Add methods to set the API key and ID, even after instantiated.
  • 9673f0a - Add DBLRuby::Errors::InvalidBot for invalid bots.
  • 94dca83 - Add DBLRuby::Errors::InvalidUser for invalid user (then fix an oopsie in the next commit: (2fe31b7)
  • dc761b0 - Added some alias methods to stats.
  • 9632899 - Rescue invalid API keys when attempting to make a request that needed one with the new DBLRuby::Errors::InvalidAPIKey

And more!

Make sure to grab the new gem via gem install dblruby!

Assets 2
Pre-release

@Chew Chew released this Apr 23, 2018 · 71 commits to master since this release

Additions

  • d0473a1 - Add #verifyvote method to verify a user's vote. Call their ID to see if they voted within the last 24 hours.
  • f4a06bf - Add #api and #id method to see what you inputted when you instantiated.

Changes

  • ae5be72 - #discriminator now returns the 4 digit tag, and not a #. Distinct still shows username#tag however.
  • Documented a lot more things. Check them out here.

Click to view all changes

Assets 2
You can’t perform that action at this time.