feat(gateway): add raw event

This commit is contained in:
DjDeveloperr 2020-11-15 13:34:24 +05:30
parent 45673d8197
commit c92f2e3d49

View file

@ -115,6 +115,8 @@ class Gateway {
await this.cache.set('seq', s)
}
if (t !== null && t !== undefined) {
this.client.emit('raw', t, d)
const handler = gatewayHandlers[t]
if (handler !== undefined) {