dhananjai1729
4b2e35ab95
fix(discord): add token-based fallback for application ID resolution
...
When the Discord API call to /oauth2/applications/@me fails (timeout,
network error), the bot fails to start with "Failed to resolve Discord
application id". Add a fallback that extracts the application ID by
base64-decoding the first segment of the bot token, keeping it as a
string to avoid precision loss for snowflake IDs exceeding
Number.MAX_SAFE_INTEGER (2^53 - 1).
Fixes #29608
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-02 02:05:48 +00:00
..
2026-03-01 20:39:24 +01:00
2026-03-02 02:05:11 +00:00
2026-03-02 01:17:42 +00:00
2026-03-02 01:32:28 +00:00
2026-03-02 02:05:11 +00:00
2026-03-02 01:58:39 +00:00
2026-03-02 01:48:14 +00:00
2026-03-02 02:04:39 +00:00
2026-03-01 20:02:24 -06:00
2026-03-01 17:35:24 -08:00
2026-03-02 02:05:48 +00:00
2026-03-02 01:27:46 +00:00
2026-02-26 13:04:37 +01:00
2026-02-26 21:57:52 +01:00
2026-03-02 01:27:46 +00:00
2026-02-26 21:57:52 +01:00
2026-02-22 09:21:09 +01:00
2026-03-02 00:32:33 +00:00
2026-02-25 04:54:51 +00:00
2026-03-02 01:04:01 +00:00
2026-02-24 23:10:19 +00:00
2026-03-01 12:16:50 -06:00
2026-03-02 01:12:53 +00:00
2026-02-26 22:36:20 +01:00
2026-03-02 01:31:32 +00:00
2026-03-01 23:48:30 +00:00
2026-03-01 21:30:07 +00:00
2026-02-23 21:17:37 -05:00
2026-03-02 01:47:02 +00:00
2026-03-01 21:30:07 +00:00
2026-03-02 00:38:01 +00:00
2026-02-28 14:02:56 -08:00
2026-02-28 13:20:50 -08:00
2026-03-02 01:11:22 +00:00
2026-03-01 23:11:48 +00:00
2026-03-02 02:04:39 +00:00
2026-02-22 08:09:14 +00:00
2026-02-22 18:37:25 +00:00
2026-02-28 18:38:00 -05:00
2026-02-27 23:41:22 -06:00
2026-02-28 14:56:01 -08:00
2026-02-26 18:39:13 -05:00
2026-02-26 21:57:52 +01:00
2026-02-22 18:13:23 -05:00
2026-03-02 00:42:22 +00:00
2026-03-01 17:28:35 -08:00
2026-03-01 15:45:21 -08:00
2026-03-01 14:23:46 -08:00
2026-02-22 13:19:25 +01:00
2026-02-22 13:19:25 +01:00
2026-02-22 14:08:51 +00:00