mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
28 lines
822 B
ReStructuredText
28 lines
822 B
ReStructuredText
.. red commands module documentation
|
|
|
|
================
|
|
Commands Package
|
|
================
|
|
|
|
This package acts almost identically to :doc:`discord.ext.commands <dpy:ext/commands/api>`; i.e.
|
|
all of the attributes from discord.py's are also in ours.
|
|
Some of these attributes, however, have been slightly modified, while others have been added to
|
|
extend functionlities used throughout the bot, as outlined below.
|
|
|
|
.. autofunction:: redbot.core.commands.command
|
|
|
|
.. autofunction:: redbot.core.commands.group
|
|
|
|
.. autoclass:: redbot.core.commands.Command
|
|
:members:
|
|
:inherited-members: format_help_for_context
|
|
|
|
.. autoclass:: redbot.core.commands.Group
|
|
:members:
|
|
|
|
.. autoclass:: redbot.core.commands.Context
|
|
:members:
|
|
|
|
.. automodule:: redbot.core.commands.requires
|
|
:members: PrivilegeLevel, PermState, Requires
|