harmony/src/gateway/handlers/reconnect.ts

9 lines
174 B
TypeScript
Raw Normal View History

2020-12-02 12:29:52 +00:00
import { Gateway, GatewayEventHandler } from '../index.ts'
export const reconnect: GatewayEventHandler = async (
gateway: Gateway,
d: any
) => {
gateway.reconnect()
}