Skip to content

Commit 4b8114c

Browse files
committed
Merge branch 'with-response' of https://github.com/Icebluewolf/pycord into with-response
2 parents c505fbb + 172898f commit 4b8114c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

discord/interactions.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -924,9 +924,7 @@ async def pong(self) -> None:
924924
async def _process_callback_response(
925925
self, callback_response: InteractionCallbackResponse
926926
):
927-
if callback_response.get("resource", {}).get(
928-
"message"
929-
):
927+
if callback_response.get("resource", {}).get("message"):
930928
# TODO: fix later to not raise?
931929
channel = self._parent.channel
932930
if channel is None:

0 commit comments

Comments
 (0)