@satorijs/core
Advanced tools
Comparing version 3.1.1 to 3.1.2
{ | ||
"name": "@satorijs/core", | ||
"description": "Core components of Satorijs", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"main": "lib/index.cjs", | ||
@@ -6,0 +6,0 @@ "module": "lib/index.mjs", |
@@ -149,3 +149,6 @@ import { Dict, pick, remove } from 'cosmokit' | ||
this.context.emit('internal/session', session) | ||
if (session.type === 'internal') return | ||
if (session.type === 'internal') { | ||
this.context.emit(session.event._type, session.event._data) | ||
return | ||
} | ||
for (const event of events) { | ||
@@ -152,0 +155,0 @@ this.context.emit(session, event as any, session) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
108672
2139