MCPcopy Create free account
hub / github.com/GlobalTechInfo/MEGA-MD / getRandomDelay

Function getRandomDelay

plugins/chatbot.js:69–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67 }
68}
69function getRandomDelay() {
70 return Math.floor(Math.random() * 3000) + 2000;
71}
72async function showTyping(sock, chatId) {
73 try {
74 await sock.presenceSubscribe(chatId);

Callers 2

showTypingFunction · 0.85
handleChatbotResponseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected