Skip to content

Commit

Permalink
docs: updates
Browse files Browse the repository at this point in the history
Signed-off-by: Dorukyum <53639936+Dorukyum@users.noreply.github.com>
  • Loading branch information
Dorukyum authored Jan 18, 2024
1 parent 0f15775 commit ec4a819
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion discord/ext/bridge/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,8 @@ async def convert(self, ctx, arg: bool):


class BridgeOption(Option, Converter):
"""Slash command option for bridge commands. Otherwise equivalent in every way to :class:`discord.Option`."""
"""Represents a selectable slash command option and a prefixed command argument for bridge commands.
"""

async def convert(self, ctx, argument: str) -> Any:
try:
Expand Down
5 changes: 5 additions & 0 deletions docs/ext/bridge/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -163,3 +163,8 @@ Option

BridgeOption
~~~~~~~~~~~~

.. attributetable:: discord.ext.bridge.BridgeOption

.. autoclass:: discord.ext.bridge.BridgeOption
:members:

0 comments on commit ec4a819

Please sign in to comment.