Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GlobalTechInfo/MEGA-MD
/ functions
Functions
793 in github.com/GlobalTechInfo/MEGA-MD
⨍
Functions
793
◇
Types & classes
33
↓ 80 callers
Function
printLog
* Simple colored logger for events
lib/print.js:231
↓ 38 callers
Function
printer
Helper function print a string with various features
lib/speed.py:1814
↓ 30 callers
Method
json
Return data in JSON format
lib/speed.py:1074
↓ 26 callers
Function
loadUserGroupData
()
lib/index.js:14
↓ 24 callers
Method
close
(self)
lib/speed.py:642
↓ 22 callers
Method
connect
Connect to the host and port specified in __init__.
lib/speed.py:432
↓ 20 callers
Function
dataFile
(filename)
lib/paths.js:8
↓ 18 callers
Function
downloadMediaMessage
(message, mediaType)
plugins/tag.js:4
↓ 18 callers
Method
run
(self)
lib/speed.py:910
↓ 17 callers
Function
run
(cmd)
plugins/update.js:8
↓ 16 callers
Function
getSt
(val)
plugins/settings.js:43
↓ 16 callers
Function
saveUserGroupData
(data)
lib/index.js:62
↓ 15 callers
Function
delay
(ms)
plugins/hack.js:44
↓ 14 callers
Function
cleanJid
(jid)
lib/isOwner.js:3
↓ 14 callers
Function
get_exception
Helper function to work with py2.4-py3 for getting the current exception in a try/except block
lib/speed.py:649
↓ 12 callers
Method
read
(self, n=10240)
lib/speed.py:874
↓ 11 callers
Function
handleMessages
(sock, messageUpdate)
lib/messageHandler.js:53
↓ 11 callers
Method
registerCommand
(plugin)
lib/commandHandler.js:73
↓ 10 callers
Function
isOwnerOrSudo
* Check if user is owner or sudo
lib/isOwner.js:11
↓ 8 callers
Method
__init__
(self, config=None, source_address=None, timeout=10, secure=False, shutdown_event=None)
lib/speed.py:1089
↓ 7 callers
Function
build_request
Build a urllib2 request object This function automatically adds a User-Agent header to all requests
lib/speed.py:691
↓ 7 callers
Function
saveConfig
(config)
plugins/antispam.js:103
↓ 6 callers
Function
clean
(text, maxLen = 400)
plugins/medicine.js:41
↓ 6 callers
Function
createMockMessage
(opts = {})
test/mocks/baileys.js:55
↓ 6 callers
Function
fmt
(v)
plugins/privacy.js:50
↓ 6 callers
Function
getRandomEmoji
(arr)
plugins/smartmenu.js:31
↓ 6 callers
Function
handleGroupParticipantUpdate
(sock, update)
lib/messageHandler.js:506
↓ 6 callers
Function
isAdmin
(sock, chatId, senderId)
lib/isAdmin.js:1
↓ 6 callers
Function
isBanned
(userId)
lib/isBanned.js:9
↓ 5 callers
Function
bytesToSize
(bytes, decimals = 2)
lib/myfunc.js:155
↓ 5 callers
Function
getAntitag
(groupId, type)
lib/index.js:145
↓ 5 callers
Method
getCommand
(text, prefixes)
lib/commandHandler.js:200
↓ 5 callers
Function
handleCall
(sock, calls)
lib/messageHandler.js:569
↓ 5 callers
Function
initConfig
()
plugins/autoread.js:11
↓ 5 callers
Function
isGhostModeActive
()
plugins/autotyping.js:45
↓ 5 callers
Function
isSudo
(userId)
lib/index.js:203
↓ 5 callers
Function
runtime
(seconds)
lib/myfunc.js:69
↓ 5 callers
Function
showTyping
(sock, chatId)
plugins/chatbot.js:72
↓ 5 callers
Function
writeErrorLog
(entry)
lib/logger.js:30
↓ 4 callers
Function
board_to_str
(board)
lib/sudoku.py:102
↓ 4 callers
Function
catch_request
Helper function to catch common exceptions encountered when establishing a connection with a HTTP/HTTPS request
lib/speed.py:727
↓ 4 callers
Function
compress
(obj)
lib/lightweight_store.js:54
↓ 4 callers
Function
decompress
(buf)
lib/lightweight_store.js:63
↓ 4 callers
Method
dict
Return dictionary of result data
lib/speed.py:1035
↓ 4 callers
Function
event_is_set
(event)
lib/speed.py:299
↓ 4 callers
Function
fetchQuotes
()
plugins/setbio.js:11
↓ 4 callers
Function
format_board
Format board as pretty ASCII with box drawing.
lib/sudoku.py:119
↓ 4 callers
Function
getAntilink
(chatId, _type)
plugins/antilink.js:18
↓ 4 callers
Function
getUserNotes
(userId)
plugins/notes.js:8
↓ 4 callers
Function
get_attributes_by_tag_name
Retrieve an attribute from an XML document and return it in a consistent format Only used with xml.dom.minidom, which is likely only to be us
lib/speed.py:765
↓ 4 callers
Function
loadSchedules
()
plugins/schedule.js:11
↓ 4 callers
Function
loadState
()
plugins/mention.js:12
↓ 4 callers
Function
saveAntibadwordSettings
(chatId, settings)
plugins/antibadword.js:6
↓ 4 callers
Function
scheduleDelete
(p)
plugins/igs.js:18
↓ 4 callers
Function
unixTimestampSeconds
(date = new Date())
lib/myfunc.js:8
↓ 4 callers
Function
updateAutoBio
(sock)
plugins/setbio.js:55
↓ 4 callers
Method
write
(self, s)
lib/speed.py:176
↓ 4 callers
Function
writeConfig
(config)
plugins/autostatus.js:50
↓ 3 callers
Function
clockString
(ms)
lib/myfunc.js:81
↓ 3 callers
Function
createMockSock
(overrides = {})
test/mocks/baileys.js:3
↓ 3 callers
Function
displayProgressBar
* Display progress bar in chat
plugins/hack.js:48
↓ 3 callers
Function
downloadMediaMessage
(message, mediaType)
plugins/hidetag.js:4
↓ 3 callers
Function
ensureSessionDirectory
()
index.js:107
↓ 3 callers
Function
extractPhoneNumber
* Extract real phone number from various JID formats
lib/print.js:7
↓ 3 callers
Function
ffmpeg
(buffer, args = [], ext = '', ext2 = '')
lib/converter.js:7
↓ 3 callers
Method
findSuggestion
(cmd)
lib/commandHandler.js:161
↓ 3 callers
Function
formatBytes
(bytes)
plugins/mega.js:3
↓ 3 callers
Function
getAntiBadword
(chatId, _type)
lib/antibadword.js:46
↓ 3 callers
Method
get_best_server
Perform a speedtest.net "ping" to determine which speedtest.net server has the lowest latency
lib/speed.py:1440
↓ 3 callers
Method
get_servers
Retrieve a the list of speedtest.net servers, optionally filtered to servers matching those specified in the ``servers`` argument
lib/speed.py:1240
↓ 3 callers
Function
handleStatus
(sock, status)
lib/messageHandler.js:558
↓ 3 callers
Function
hasValidSession
()
index.js:114
↓ 3 callers
Function
isAutotypingEnabled
()
plugins/autotyping.js:35
↓ 3 callers
Function
isGoodByeOn
(jid)
lib/index.js:330
↓ 3 callers
Function
isOwnerOnly
* Check if user is ONLY owner
lib/isOwner.js:41
↓ 3 callers
Function
isWelcomeOn
(jid)
lib/index.js:288
↓ 3 callers
Function
is_valid
(board, row, col, num)
lib/sudoku.py:13
↓ 3 callers
Function
loadAntideleteConfig
()
plugins/antidelete.js:51
↓ 3 callers
Function
randomFileName
()
lib/exif.js:6
↓ 3 callers
Function
reactToStatus
(sock, statusKey)
plugins/autostatus.js:71
↓ 3 callers
Function
readConfig
()
plugins/autostatus.js:31
↓ 3 callers
Method
render
()
lib/tictactoe.js:61
↓ 3 callers
Function
saveSchedules
(data)
plugins/schedule.js:31
↓ 3 callers
Function
saveUserNotes
(userId, notes)
plugins/notes.js:17
↓ 3 callers
Function
toGB
(b)
plugins/sysinfo.js:20
↓ 3 callers
Function
toMB
(b)
plugins/sysinfo.js:19
↓ 3 callers
Method
toggleCommand
(name)
lib/commandHandler.js:137
↓ 3 callers
Function
trim
lib/analyze.cpp:20
↓ 3 callers
Function
wait
(ms)
plugins/terabox.js:12
↓ 3 callers
Function
write
(data)
lib/speed.py:222
↓ 2 callers
Function
UploadFileUgu
(input)
lib/uploader.js:28
↓ 2 callers
Function
_build_connection
Cross Python 2.4 - Python 3 callable to build an ``HTTPConnection`` or ``HTTPSConnection`` with the args we need Called from ``http(s)_open``
lib/speed.py:518
↓ 2 callers
Function
addCommandReaction
(sock, message)
lib/reactions.js:34
↓ 2 callers
Function
addGoodbye
(jid, enabled, message)
lib/index.js:298
↓ 2 callers
Function
addWelcome
(jid, enabled, message)
lib/index.js:256
↓ 2 callers
Function
build_opener
Function similar to ``urllib2.build_opener`` that will build an ``OpenerDirector`` with the explicit handlers we want, ``source_address`` for
lib/speed.py:583
↓ 2 callers
Function
build_user_agent
Build a Mozilla/5.0 compatible User-Agent string
lib/speed.py:675
↓ 2 callers
Function
clearDirectory
(dirPath)
plugins/cleartmp.js:4
↓ 2 callers
Function
clearTmpDirectory
()
plugins/cleartmp.js:36
↓ 2 callers
Function
create_connection
Connect to *address* and return the socket object. Convenience function. Connect to *address* (a 2-tuple ``(host, port)``) and return the so
lib/speed.py:376
next →
1–100 of 793, ranked by callers