Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
}
69
function
getRandomDelay() {
70
return
Math.floor(Math.random() * 3000) + 2000;
71
}
72
async
function
showTyping(sock, chatId) {
73
try {
74
await
sock.presenceSubscribe(chatId);
Callers
2
showTyping
Function · 0.85
handleChatbotResponse
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected