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 1502496 commit bd179caCopy full SHA for bd179ca
src/Discord/HttpTrait.php
@@ -415,7 +415,8 @@ protected function checkInteractionQueue(): void
415
*/
416
public static function isInteractionEndpoint(Request $request): bool
417
{
418
- return strpos($request->getUrl(), '/interactions') === 0;
+ $url = $request->getUrl();
419
+ return strpos($url, '/interactions') === 0 || strpos($url, '/callback') === 0;
420
}
421
422
/**
0 commit comments