next.py/docs/ext/commands/api.rst

111 lines
1.9 KiB
ReStructuredText
Raw Normal View History

2024-11-05 17:57:38 +03:00
.. currentmodule:: next
API Reference
===============
CommandsClient
~~~~~~~~~~~~~~~
.. autoclass:: next.ext.commands.CommandsClient
:members:
Context
~~~~~~~~
.. autoclass:: next.ext.commands.Context
:members:
Command
~~~~~~~~
.. autoclass:: next.ext.commands.Command
:members:
Cog
~~~~
.. autoclass:: next.ext.commands.Cog
:members:
command
~~~~~~~~
.. autodecorator:: next.ext.commands.command
check
~~~~~~
.. autodecorator:: next.ext.commands.check
is_bot_owner
~~~~~~~~~~~~~
.. autodecorator:: next.ext.commands.is_bot_owner
is_server_owner
~~~~~~~~~~~~~~~~
.. autodecorator:: next.ext.commands.is_server_owner
Exceptions
===========
CommandError
~~~~~~~~~~~~~
.. autoexception:: next.ext.commands.CommandError
:members:
CommandNotFound
~~~~~~~~~~~~~~~~
.. autoexception:: next.ext.commands.CommandNotFound
:members:
NoClosingQuote
~~~~~~~~~~~~~~~
.. autoexception:: next.ext.commands.NoClosingQuote
:members:
CheckError
~~~~~~~~~~~
.. autoexception:: next.ext.commands.CheckError
:members:
NotBotOwner
~~~~~~~~~~~~
.. autoexception:: next.ext.commands.NotBotOwner
:members:
NotServerOwner
~~~~~~~~~~~~~~~
.. autoexception:: next.ext.commands.NotServerOwner
:members:
ServerOnly
~~~~~~~~~~~
.. autoexception:: next.ext.commands.ServerOnly
:members:
ConverterError
~~~~~~~~~~~~~~~
.. autoexception:: next.ext.commands.ConverterError
:members:
InvalidLiteralArgument
~~~~~~~~~~~~~~~~~~~~~~~
.. autoexception:: next.ext.commands.InvalidLiteralArgument
:members:
BadBoolArgument
~~~~~~~~~~~~~~~~
.. autoexception:: next.ext.commands.BadBoolArgument
:members:
CategoryConverterError
~~~~~~~~~~~~~~~~~~~~~~~
.. autoexception:: next.ext.commands.CategoryConverterError
:members:
UserConverterError
~~~~~~~~~~~~~~~~~~~
.. autoexception:: next.ext.commands.UserConverterError
:members:
MemberConverterError
~~~~~~~~~~~~~~~~~~~~~
.. autoexception:: next.ext.commands.MemberConverterError
:members: