HenkieThee
HenkieThee
DIAdiscord.js - Imagine an app
Created by HenkieThee on 1/9/2025 in #djs-questions
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?
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);
}
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);
}
21 replies
DIAdiscord.js - Imagine an app
Created by HenkieThee on 1/3/2025 in #djs-questions
Slash command limit
Hi, i think the limit of slash commands was 100 global and 100 guild but for the 100 guild ones is it a limit of 100 per guild or as bot for guilds? So example as user of the bot i have 4 guilds where the bot is in can they each have 100 different guild based commands?
16 replies
DIAdiscord.js - Imagine an app
Created by HenkieThee on 3/31/2024 in #djs-questions
post channel trough bot
Im able to create a thread using the bot on a text channel but for some reason i cant make one into a post channel (i want the bot to be able to make a post in a post channel)
39 replies