Why do i get bad request
When i use the following scopes
identify email guilds
it works perfect but when i add guilds.channels.read i get bad request?
identify email guilds
it works perfect but when i add guilds.channels.read i get bad request?
public function redirectToDiscord()
{
$query = http_build_query([
'client_id' => env('DISCORD_CLIENT_ID'),
'redirect_uri' => env('DISCORD_REDIRECT_URI'),
'response_type' => 'code',
'scope' => 'identify email guilds guilds.channels.read',
]);
return redirect('https://discord.com/api/oauth2/authorize?' . $query);
}npm list discord.js and node node -v version?
