Main
This class is used to make it much easier to use the Boticord API.
BoticordClient
- class boticordpy.BoticordClient(bot, token=None, **kwargs)
This class is used to make it much easier to use the Boticord API.
- Parameters
bot (
commands.Bot
|commands.AutoShardedBot
) – The discord.py Bot instancetoken (
str
) – boticord api key
- Bots
modules.bots.Bots
with all arguments filled.- Type
- Servers
modules.servers.Servers
with all arguments filled.
- Users
modules.users.Users
with all arguments filled.- Type
- event(event_name: str)
A decorator that registers an event to listen to. You can find all the events on Event Reference page.
:param event_name
str
: boticord event name
- start_loop(sleep_time: Optional[int] = None) None
Can be used to post stats automatically.
- Parameters
sleep_time (
int
) – stats posting interval - can be not specified or None (default interval - 15 minutes)