feat(status): warn on Discord message content intent

This commit is contained in:
Peter Steinberger
2026-01-08 23:07:24 +01:00
parent a6c309824e
commit 7392387ec1
9 changed files with 314 additions and 3 deletions

View File

@@ -130,7 +130,9 @@ export const providersHandlers: GatewayRequestHandlers = {
let discordProbe: DiscordProbe | undefined;
let lastProbeAt: number | null = null;
if (probe && configured && account.enabled) {
discordProbe = await probeDiscord(account.token, timeoutMs);
discordProbe = await probeDiscord(account.token, timeoutMs, {
includeApplication: true,
});
lastProbeAt = Date.now();
}
return {
@@ -139,6 +141,8 @@ export const providersHandlers: GatewayRequestHandlers = {
enabled: account.enabled,
configured,
tokenSource: account.tokenSource,
bot: rt?.bot ?? null,
application: rt?.application ?? null,
running: rt?.running ?? false,
lastStartAt: rt?.lastStartAt ?? null,
lastStopAt: rt?.lastStopAt ?? null,