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

Function getRandomQuote

plugins/setbio.js:50–54  ·  view source on GitHub ↗
(quotes)

Source from the content-addressed store, hash-verified

48 }
49}
50function getRandomQuote(quotes) {
51 if (!quotes || quotes.length === 0)
52 return '💎 By MEGA-MD';
53 return quotes[Math.floor(Math.random() * quotes.length)];
54}
55async function updateAutoBio(sock) {
56 try {
57 const autoBioSettings = await store.getSetting('global', 'autoBio');

Callers 2

updateAutoBioFunction · 0.85
handlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected