2020-10-22 15:50:47 +00:00
|
|
|
import { GatewayOpcodes, GatewayEvents } from '../types/gatewayTypes.ts'
|
2020-10-21 16:30:42 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Gateway response from Discord.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
interface GatewayResponse {
|
|
|
|
op: GatewayOpcodes
|
|
|
|
d: any
|
|
|
|
s?: number
|
2020-10-22 15:50:47 +00:00
|
|
|
t?: GatewayEvents
|
2020-10-21 16:30:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export { GatewayResponse }
|