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 27fc7db commit 172898fCopy full SHA for 172898f
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