From 6a70db5e03e350f3ddf7a9ff5489017f5228849e Mon Sep 17 00:00:00 2001 From: Eren <65873936+Aello1@users.noreply.github.com> Date: Mon, 18 May 2026 21:27:24 +0300 Subject: [PATCH] fix: propagate dbiInter.other to beforeInteraction ctx --- src/methods/hookInteractionListeners.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/methods/hookInteractionListeners.ts b/src/methods/hookInteractionListeners.ts index 845ee4c..92ec175 100644 --- a/src/methods/hookInteractionListeners.ts +++ b/src/methods/hookInteractionListeners.ts @@ -76,7 +76,7 @@ export function hookInteractionListeners(dbi: DBI): () => any { let data = parsedId?.data; let v2 = parsedId?.v2 || false; - let other = {}; + let other = { ...(dbiInter.other ?? {}) }; if ( !(await dbi.events.trigger("beforeInteraction", {