Skip to content
eek#7574 edited this page Mar 15, 2021 · 15 revisions

Models

Bot

attribute name attribute type default value
id int
username str
discriminator str
avatar_url str None
default_avatar str
avatar str avatar_url or default_avatar
prefix str
short_description str
long_description str None
tags List[str] []
website str None
support str None
github str None
owners List[int] []
featured_guilds List[int] []
invite str

async fetch_bot(bot_id: int, *, fail_if_ratelimited: bool = False)

Fetches a bot from top.gg

bot_id: The bot's client ID

fail_if_ratelimited: Whether to raise an error if we get ratelimited or just wait an hour

Returns: A bot model

Clone this wiki locally