mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Co-authored-by: Kowlin <10947836+Kowlin@users.noreply.github.com> Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> Co-authored-by: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Co-authored-by: Kreusada <67752638+Kreusada@users.noreply.github.com> Co-authored-by: Candy <28566705+mina9999@users.noreply.github.com> Co-authored-by: Matt Chandra <55866950+matcha19@users.noreply.github.com> Co-authored-by: Lemon Rose <78662983+japandotorg@users.noreply.github.com> Co-authored-by: Honkertonken <94032937+Honkertonken@users.noreply.github.com> Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> Co-authored-by: River <18037011+RheingoldRiver@users.noreply.github.com> Co-authored-by: AAA3A <89632044+AAA3A-AAA3A@users.noreply.github.com> Co-authored-by: Lemon Rose <japandotorg@users.noreply.github.com> Co-authored-by: Julien Mauroy <pro.julien.mauroy@gmail.com> Co-authored-by: TheThomanski <15034759+TheThomanski@users.noreply.github.com>
76 lines
1.9 KiB
ReStructuredText
76 lines
1.9 KiB
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 functionalities used throughout the bot, as outlined below.
|
|
|
|
.. autofunction:: redbot.core.commands.command
|
|
|
|
.. autofunction:: redbot.core.commands.hybrid_command
|
|
|
|
.. autofunction:: redbot.core.commands.group
|
|
|
|
.. autofunction:: redbot.core.commands.hybrid_group
|
|
|
|
.. autoclass:: redbot.core.commands.Cog
|
|
|
|
.. automethod:: format_help_for_context
|
|
|
|
.. automethod:: red_get_data_for_user
|
|
|
|
.. automethod:: red_delete_data_for_user
|
|
|
|
.. autoclass:: redbot.core.commands.GroupCog
|
|
|
|
.. autoclass:: redbot.core.commands.Command
|
|
:members:
|
|
:inherited-members: format_help_for_context
|
|
|
|
.. autoclass:: redbot.core.commands.HybridCommand
|
|
:members:
|
|
|
|
.. autoclass:: redbot.core.commands.Group
|
|
:members:
|
|
|
|
.. autoclass:: redbot.core.commands.HybridGroup
|
|
:members:
|
|
|
|
.. autoclass:: redbot.core.commands.Context
|
|
:members:
|
|
|
|
.. autoclass:: redbot.core.commands.GuildContext
|
|
|
|
.. autoclass:: redbot.core.commands.DMContext
|
|
|
|
.. automodule:: redbot.core.commands.requires
|
|
:members: PrivilegeLevel, PermState, Requires
|
|
|
|
.. automodule:: redbot.core.commands.converter
|
|
:members:
|
|
:exclude-members: UserInputOptional, convert
|
|
:no-undoc-members:
|
|
|
|
.. autodata:: UserInputOptional
|
|
:annotation:
|
|
|
|
.. _framework-commands-help:
|
|
|
|
******************
|
|
Help Functionality
|
|
******************
|
|
|
|
.. warning::
|
|
|
|
The content in this section is provisional and may change
|
|
without prior notice or warning. Updates to this will be communicated
|
|
on `this issue <https://github.com/Cog-Creators/Red-DiscordBot/issues/4084>`_
|
|
|
|
|
|
.. automodule:: redbot.core.commands.help
|
|
:members:
|