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 instance

  • token (str) – boticord api key

Bots

modules.bots.Bots with all arguments filled.

Type

modules.bots.Bots

Servers

modules.servers.Servers with all arguments filled.

Type

modules.servers.Servers

Users

modules.users.Users with all arguments filled.

Type

modules.users.Users

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)