What’s New¶
This page keeps a detailed human friendly rendering of what’s new and changed in specific versions.
v2.0.0a¶
DBLClientnow doesn’t take indiscord.ClientinstanceIntroduced new autopost and data injection API
Webhook API breaking changes
No longer depends on any Discord API wrapper
GuildVoteDataalias
v1.4.0¶
v1.3.0¶
Introduced global ratelimiter to follow Top.gg global ratelimits
Fixed an
AttributeErrorraised byHTTPClient.request()Resource-specific ratelimit is now actually resource-specific
v1.2.0¶
Introduced global ratelimiter along with bot endpoints ratelimiter
Follow consistency with typing in
HTTPClientandDBLClientalong with updated docstrings (GH-55)
v1.1.0¶
Introduced data models
DBLClient.get_bot_votes()now returns a list ofBriefUserDataobjectsDBLClient.get_bot_info()now returns aBotDataobjectDBLClient.get_guild_count()now returns aBotStatsDataobjectDBLClient.get_user_info()now returns aUserDataobject
WebhookManager.run()now returns anasyncio.Task, meaning it can now be optionally awaited
v1.0.1¶
WebhookManager.webservernow instead returnsaiohttp.web.Applicationfor ease of use
v1.0.0¶
Renamed the module folder from
dbltotopggAdded
post_shard_countargument toDBLClient.post_guild_count()Autopost now supports automatic shard posting (GH-42)
Large webhook system rework, read the
api/webhooksection for moreAdded support for server webhooks
Renamed
DBLExceptiontoTopGGExceptionRenamed
DBLClient.get_bot_upvotes()toDBLClient.get_bot_votes()Added
DBLClient.generate_widget()along with thewidgetssection in the documentationImplemented a properly working ratelimiter
Added
on_autopost_error()All autopost events now follow
on_autopost_xnaming format, e.g.on_autopost_error(),on_autopost_success()Added handlers for autopost args set when autopost is disabled
v0.4.0¶
DBLClient.post_guild_count()now supports a customguild_countargument, which accepts either an integer or list of integersReworked how shard info is posted
Removed
InvalidArgumentandConnectionClosedexceptionsAdded
ServerErrorexception
v0.3.3¶
Internal changes regarding support of Top.gg migration
Fixed errors raised when using
DBLClient.close()without built-in webhook
v0.3.2¶
Clientclass has been renamed toDBLClient
v0.3.1¶
Added
on_guild_post, an event that is called when autoposter successfully posts guild countRenamed
get_upvote_infotoget_bot_upvotesAdded
get_user_vote
v0.3.0¶
DBLClientnow hasautopostkwarg that will post server count automatically every 30 minutesFixed code 403 errors
Added
on_dbl_vote, an event that is called when you test your webhookAdded
on_dbl_test, an event that is called when someone tests your webhook
v0.2.1¶
Added webhook
Removed support for discord.py versions lower than 1.0.0
Made
DBLClient.get_weekend_status()return a boolean valueAdded webhook example in README
Removed
post_server_countandget_server_count
v0.2.0¶
Added
post_guild_countMade
post_server_countan alias forpost_guild_countAdded
get_guild_count
Made
get_server_countan alias forget_guild_countAdded
DBLClient.get_weekend_status()Removed all parameters from
DBLClient.get_upvote_info()Added limit to
DBLClient.get_bots()Fixed example in README
v0.1.6¶
Bug fixes & improvements
v0.1.4¶
Initial ratelimit handling
v0.1.3¶
Added documentation
Fixed some minor bugs
v0.1.2¶
Initial release
Working
POSTing server count
GET bot info, server count, upvote count, upvote info
GET all bots
GET specific user info
GET widgets (large and small) including custom ones. See Top.gg docs for more info.
Not Working / Implemented
Searching for bots via the api