Skip to content

Commit d5119eb

Browse files
UP929312BobDotComJustaSqu1d
authored
Documentation improvements on bridge commands (#1569)
* Documentation improvements on bridge commands * Update discord/ext/bridge/context.py Co-authored-by: JustaSqu1d <[email protected]> Co-authored-by: BobDotCom <[email protected]> Co-authored-by: JustaSqu1d <[email protected]>
1 parent 2c3f794 commit d5119eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/ext/bridge/context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class BridgeContext(ABC):
4242
this class are meant to give parity between the two contexts, while still allowing for all of their functionality.
4343
4444
When this is passed to a command, it will either be passed as :class:`BridgeExtContext`, or
45-
:class:`BridgeApplicationContext`. Since they are two separate classes, it is quite simple to use :func:`isinstance`
45+
:class:`BridgeApplicationContext`. Since they are two separate classes, it's easy to use the :attr:`BridgeContext.is_app` attribute.
4646
to make different functionality for each context. For example, if you want to respond to a command with the command
4747
type that it was invoked with, you can do the following:
4848

0 commit comments

Comments
 (0)