message: fix(ws): dont flush guilds on shard ready
diff: @@ -429,7 +429,7 @@ export class Client extends HarmonyEventEmitter<ClientEvents> {
  recipient_id: id
  })
  await this.channels.set(dmPayload.id, dmPayload)
  - return (this.channels.get<DMChannel>(dmPayload.id) as unknown) as DMChannel
  + return this.channels.get<DMChannel>(dmPayload.id) as unknown as DMChannel
  }
  /** Returns a template object for the given code. */
  @@ -448,9 +448,11 @@ export function event(name?: keyof ClientEvents) {
  ) {
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
  const c = client as any
  - const listener = ((client as unknown) as {
  + const listener = (
  + client as unknown as {
  [name in keyof ClientEvents]: (...args: ClientEvents[name]) => any
  - })[(prop as unknown) as keyof ClientEvents]
  + }
  + )[prop as unknown as keyof ClientEvents]
  if (typeof listener !== 'function')
  throw new Error('@event decorator requires a function')
  