-
-
Notifications
You must be signed in to change notification settings - Fork 468
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve issues with
ext.bridge
docs (#1462)
* Split ext/bridge/index * More doc fixes * Update bot.py Co-authored-by: Dorukyum <53639936+Dorukyum@users.noreply.github.com>
- Loading branch information
1 parent
c80b39a
commit c305ec6
Showing
6 changed files
with
94 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
.. currentmodule:: discord | ||
|
||
API Reference | ||
============== | ||
|
||
The reference manual that follows details the API of Pycord's bridge command extension module. | ||
|
||
.. note:: | ||
|
||
Using the prefixed command version (which uses the ``ext.commands`` extension) of bridge | ||
commands in guilds requires :attr:`Intents.message_context` to be enabled. | ||
|
||
|
||
.. _ext_bridge_api: | ||
|
||
Bots | ||
----- | ||
|
||
Bot | ||
~~~~ | ||
|
||
.. attributetable:: discord.ext.bridge.Bot | ||
|
||
.. autoclass:: discord.ext.bridge.Bot | ||
:members: | ||
|
||
.. automethod:: Bot.add_bridge_command() | ||
|
||
.. automethod:: Bot.bridge_command() | ||
:decorator: | ||
|
||
AutoShardedBot | ||
~~~~~~~~~~~~~~~ | ||
|
||
.. attributetable:: discord.ext.bridge.AutoShardedBot | ||
|
||
.. autoclass:: discord.ext.bridge.AutoShardedBot | ||
:members: | ||
|
||
Commands | ||
--------- | ||
|
||
BridgeCommand | ||
~~~~~~~~~~~~~~ | ||
|
||
.. attributetable:: discord.ext.bridge.BridgeCommand | ||
|
||
.. autoclass:: discord.ext.bridge.BridgeCommand | ||
:members: | ||
|
||
.. automethod:: discord.ext.bridge.bridge_command() | ||
:decorator: | ||
|
||
BridgeCommand Subclasses | ||
~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
.. autoclass:: discord.ext.bridge.BridgeExtCommand | ||
:members: | ||
|
||
.. autoclass:: discord.ext.bridge.BridgeSlashCommand | ||
:members: | ||
|
||
Context | ||
-------- | ||
|
||
BridgeContext | ||
~~~~~~~~~~~~~~ | ||
|
||
.. attributetable:: discord.ext.bridge.BridgeContext | ||
|
||
.. autoclass:: discord.ext.bridge.BridgeContext | ||
:members: | ||
:exclude-members: _respond, _defer, _edit, _get_super | ||
|
||
BridgeContext Subclasses | ||
~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
.. attributetable:: discord.ext.bridge.BridgeApplicationContext | ||
|
||
.. autoclass:: discord.ext.bridge.BridgeApplicationContext | ||
:members: | ||
|
||
.. attributetable:: discord.ext.bridge.BridgeExtContext | ||
|
||
.. autoclass:: discord.ext.bridge.BridgeExtContext | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters