@inetafrica/open-claudia 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bot.js +1 -1
- package/package.json +1 -1
package/bot.js
CHANGED
|
@@ -1125,10 +1125,10 @@ bot.on("document", async (msg) => {
|
|
|
1125
1125
|
// ── Text Message Handler (handles onboarding, vault password, normal messages) ──
|
|
1126
1126
|
|
|
1127
1127
|
bot.on("message", async (msg) => {
|
|
1128
|
-
if (isDuplicate(msg.message_id)) return;
|
|
1129
1128
|
if (!isAuthorized(msg)) return;
|
|
1130
1129
|
if (!msg.text || msg.text.startsWith("/")) return;
|
|
1131
1130
|
if (msg.voice || msg.audio || msg.photo || msg.document || msg.video || msg.sticker) return;
|
|
1131
|
+
if (isDuplicate(msg.message_id)) return;
|
|
1132
1132
|
|
|
1133
1133
|
// Handle onboarding
|
|
1134
1134
|
if (!isOnboarded() && onboardingStep) {
|