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.
stacklevel
1 parent 1881547 commit 37b5f50Copy full SHA for 37b5f50
discord/interactions.py
@@ -320,7 +320,7 @@ def is_component(self) -> bool:
320
return self.type == InteractionType.component
321
322
@utils.cached_slot_property("_cs_channel")
323
- @utils.deprecated("Interaction.channel", "2.7")
+ @utils.deprecated("Interaction.channel", "2.7", stacklevel=4)
324
def cached_channel(self) -> InteractionChannel | None:
325
"""The cached channel the interaction was sent from.
326
DM channels are not resolved. These are :class:`PartialMessageable` instead.
0 commit comments