We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c3f794 commit d5119ebCopy full SHA for d5119eb
discord/ext/bridge/context.py
@@ -42,7 +42,7 @@ class BridgeContext(ABC):
42
this class are meant to give parity between the two contexts, while still allowing for all of their functionality.
43
44
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`
+ :class:`BridgeApplicationContext`. Since they are two separate classes, it's easy to use the :attr:`BridgeContext.is_app` attribute.
46
to make different functionality for each context. For example, if you want to respond to a command with the command
47
type that it was invoked with, you can do the following:
48
0 commit comments