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 9f95d84 commit e791fa0Copy full SHA for e791fa0
src/Discord/HttpTrait.php
@@ -417,7 +417,7 @@ public static function isUnboundEndpoint(Request $request): bool
417
{
418
$url = $request->getUrl();
419
return
420
- (strpos($url, '/interactions') !== false && strpos($url, '/callback') !== false)
+ (strpos($url, '/interactions') === 0 && strpos($url, '/callback') !== false)
421
|| strpos($url, '/webhooks') === 0;
422
}
423
0 commit comments