MCPcopy Create free account
hub / github.com/Xchristech2/Zenitsu-Bot / getRandomDelay

Function getRandomDelay

commands/chatbot.js:33–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31
32// Add random delay between 2-5 seconds
33function getRandomDelay() {
34 return Math.floor(Math.random() * 3000) + 2000;
35}
36
37// Add typing indicator
38async function showTyping(sock, chatId) {

Callers 2

showTypingFunction · 0.85
handleChatbotResponseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected