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.
2 parents c505fbb + 172898f commit 4b8114cCopy full SHA for 4b8114c
discord/interactions.py
@@ -924,9 +924,7 @@ async def pong(self) -> None:
924
async def _process_callback_response(
925
self, callback_response: InteractionCallbackResponse
926
):
927
- if callback_response.get("resource", {}).get(
928
- "message"
929
- ):
+ if callback_response.get("resource", {}).get("message"):
930
# TODO: fix later to not raise?
931
channel = self._parent.channel
932
if channel is None:
0 commit comments