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:
TheOnlyMace
2026-07-22 19:59:23 +02:00
parent 75ac91eecc
commit bb57b842b9
4 changed files with 4 additions and 4 deletions

View File

@@ -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);
}