From 7c7886e5adc1a80175a919ecbe54d87fdcda7fa5 Mon Sep 17 00:00:00 2001 From: Paillat Date: Tue, 29 Oct 2024 16:51:42 +0100 Subject: [PATCH] docs: :memo: Add `@bridge_option` to docs (#2630) :memo: Add `@bridge_option` to docs --- docs/ext/bridge/api.rst | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/ext/bridge/api.rst b/docs/ext/bridge/api.rst index 66dbc56125..370b2f3c5d 100644 --- a/docs/ext/bridge/api.rst +++ b/docs/ext/bridge/api.rst @@ -158,11 +158,16 @@ BridgeContext Subclasses Alias of :data:`typing.Union` [ :class:`.BridgeExtContext`, :class:`.BridgeApplicationContext` ] for typing convenience. -Option +Options ------ -BridgeOption -~~~~~~~~~~~~ +Shortcut Decorators +~~~~~~~~~~~~~~~~~~~ +.. autofunction:: discord.ext.bridge.bridge_option + :decorator: + +Objects +~~~~~~~ .. attributetable:: discord.ext.bridge.BridgeOption