feat: add resume event in shard (#9650)

Co-authored-by: GrapeColor <grapecolor@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
GrapeColor
2023-07-08 06:34:42 +09:00
committed by GitHub
parent cf8012c200
commit a73d54e43a
3 changed files with 9 additions and 0 deletions

View File

@@ -2635,6 +2635,7 @@ export interface ShardEventTypes {
message: [message: any];
ready: [];
reconnecting: [];
resume: [];
spawn: [process: ChildProcess | Worker];
}
@@ -5038,6 +5039,7 @@ export enum ShardEvents {
Message = 'message',
Ready = 'ready',
Reconnecting = 'reconnecting',
Resume = 'resume',
Spawn = 'spawn',
}