Skip to content

Commit 7c7886e

Browse files
authored
docs: 📝 Add @bridge_option to docs (#2630)
📝 Add `@bridge_option` to docs
1 parent 8ed5ae5 commit 7c7886e

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

docs/ext/bridge/api.rst

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,16 @@ BridgeContext Subclasses
158158

159159
Alias of :data:`typing.Union` [ :class:`.BridgeExtContext`, :class:`.BridgeApplicationContext` ] for typing convenience.
160160

161-
Option
161+
Options
162162
------
163163

164-
BridgeOption
165-
~~~~~~~~~~~~
164+
Shortcut Decorators
165+
~~~~~~~~~~~~~~~~~~~
166+
.. autofunction:: discord.ext.bridge.bridge_option
167+
:decorator:
168+
169+
Objects
170+
~~~~~~~
166171

167172
.. attributetable:: discord.ext.bridge.BridgeOption
168173

0 commit comments

Comments
 (0)