@@ -35,9 +35,12 @@ class Bot:
3535 Methods
3636 -------
3737 .. automethod:: __init__
38- .. automethod:: start
39- .. automethod:: send
4038 .. automethod:: add_command
39+ .. automethod:: add_commands
40+ .. automethod:: add_commands_module
41+ .. automethod:: remove_commands
42+ .. automethod:: send
43+ .. automethod:: start
4144
4245 Examples
4346 --------
@@ -232,9 +235,9 @@ class BotCommand:
232235 The description of the BotCommand. By default, the function's docstring is used.
233236 cmnd_type : int, public
234237 The type of the command.
235- - if ``cmnd_type = 0``, the command is triggered on an event.
236- - if ``cmnd_type = 1``, the command is a named command.
237- - if ``cmnd_type = 2``, the command is a routine automatically triggered.
238+ * if ``cmnd_type = 0``, the command is triggered on an event.
239+ * if ``cmnd_type = 1``, the command is a named command.
240+ * if ``cmnd_type = 2``, the command is a routine automatically triggered.
238241 bot : irc_api.bot.Bot, public
239242 The bot the command belongs to.
240243 """
@@ -253,9 +256,9 @@ def __init__(self, name: str, func, events: list, desc: str, cmnd_type: int):
253256 The description of the BotCommand. By default, the function's docstring is used.
254257 cmnd_type : int
255258 The type of the command.
256- - if ``cmnd_type = 0``, the command is triggered on an event.
257- - if ``cmnd_type = 1``, the command is a named command.
258- - if ``cmnd_type = 2``, the command is a routine automatically triggered.
259+ * if ``cmnd_type = 0``, the command is triggered on an event.
260+ * if ``cmnd_type = 1``, the command is a named command.
261+ * if ``cmnd_type = 2``, the command is a routine automatically triggered.
259262 """
260263 self .name = name
261264 self .func = func
0 commit comments