chore: add backend-y bits of heartbeats

This commit is contained in:
41666 2021-03-12 20:45:35 -05:00
parent f65779f925
commit a34aebabe3
12 changed files with 174 additions and 2 deletions

View file

@ -0,0 +1,5 @@
export type BotHeartbeatData = {
shard: number;
state: 'ok' | 'degraded' | 'failed';
lastHeartbeat?: number; // Date.now()
};

View file

@ -1,5 +1,6 @@
export * from './Category';
export * from './Guild';
export * from './Internal';
export * from './Role';
export * from './Session';
export * from './User';