Update bot invite URL permissions across multiple components
- Changed the permissions parameter in the bot invite URL from '8' to '4786708802825463' in env.ts, page.tsx, and lib/env.ts for improved access control. - Updated the permissions in the landing page bootstrap.php to maintain consistency across the application.
This commit is contained in:
@@ -71,7 +71,7 @@ function bot_invite_url(array $config): string
|
||||
{
|
||||
return 'https://discord.com/api/oauth2/authorize?' . http_build_query([
|
||||
'client_id' => (string) $config['bot_client_id'],
|
||||
'permissions' => '8',
|
||||
'permissions' => '4786708802825463',
|
||||
'scope' => 'bot applications.commands',
|
||||
], '', '&', PHP_QUERY_RFC3986);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user