6 lines
198 B
TypeScript
6 lines
198 B
TypeScript
|
import { Gateway } from "../index.ts"
|
||
|
import { GatewayEventHandler } from "../index.ts"
|
||
|
|
||
|
export const reconnect: GatewayEventHandler = async (gateway: Gateway, d: any) => {
|
||
|
gateway.reconnect()
|
||
|
}
|