import { resharderCloseOldShards } from "https://deno.land/x/discordeno@13.0.0-rc45/template/bigbot/deps.ts";
Handler that by default closes all shards in the old gateway. Can be overriden if you have multiple servers and you want to communicate through redis pubsub or whatever you prefer.
Parameters
oldGateway: GatewayManager