harmony/src/gateway/handlers/reconnect.ts

5 lines
170 B
TypeScript
Raw Normal View History

2020-11-04 12:38:00 +00:00
import { Gateway , GatewayEventHandler } from "../index.ts"
2020-11-03 23:00:03 +00:00
export const reconnect: GatewayEventHandler = async (gateway: Gateway, d: any) => {
gateway.reconnect()
}