MCPcopy Create free account

hub / github.com/GlobalTechInfo/MEGA-MD / functions

Functions793 in github.com/GlobalTechInfo/MEGA-MD

↓ 80 callersFunctionprintLog
* Simple colored logger for events
lib/print.js:231
↓ 38 callersFunctionprinter
Helper function print a string with various features
lib/speed.py:1814
↓ 30 callersMethodjson
Return data in JSON format
lib/speed.py:1074
↓ 26 callersFunctionloadUserGroupData
()
lib/index.js:14
↓ 24 callersMethodclose
(self)
lib/speed.py:642
↓ 22 callersMethodconnect
Connect to the host and port specified in __init__.
lib/speed.py:432
↓ 20 callersFunctiondataFile
(filename)
lib/paths.js:8
↓ 18 callersFunctiondownloadMediaMessage
(message, mediaType)
plugins/tag.js:4
↓ 18 callersMethodrun
(self)
lib/speed.py:910
↓ 17 callersFunctionrun
(cmd)
plugins/update.js:8
↓ 16 callersFunctiongetSt
(val)
plugins/settings.js:43
↓ 16 callersFunctionsaveUserGroupData
(data)
lib/index.js:62
↓ 15 callersFunctiondelay
(ms)
plugins/hack.js:44
↓ 14 callersFunctioncleanJid
(jid)
lib/isOwner.js:3
↓ 14 callersFunctionget_exception
Helper function to work with py2.4-py3 for getting the current exception in a try/except block
lib/speed.py:649
↓ 12 callersMethodread
(self, n=10240)
lib/speed.py:874
↓ 11 callersFunctionhandleMessages
(sock, messageUpdate)
lib/messageHandler.js:53
↓ 11 callersMethodregisterCommand
(plugin)
lib/commandHandler.js:73
↓ 10 callersFunctionisOwnerOrSudo
* Check if user is owner or sudo
lib/isOwner.js:11
↓ 8 callersMethod__init__
(self, config=None, source_address=None, timeout=10, secure=False, shutdown_event=None)
lib/speed.py:1089
↓ 7 callersFunctionbuild_request
Build a urllib2 request object This function automatically adds a User-Agent header to all requests
lib/speed.py:691
↓ 7 callersFunctionsaveConfig
(config)
plugins/antispam.js:103
↓ 6 callersFunctionclean
(text, maxLen = 400)
plugins/medicine.js:41
↓ 6 callersFunctioncreateMockMessage
(opts = {})
test/mocks/baileys.js:55
↓ 6 callersFunctionfmt
(v)
plugins/privacy.js:50
↓ 6 callersFunctiongetRandomEmoji
(arr)
plugins/smartmenu.js:31
↓ 6 callersFunctionhandleGroupParticipantUpdate
(sock, update)
lib/messageHandler.js:506
↓ 6 callersFunctionisAdmin
(sock, chatId, senderId)
lib/isAdmin.js:1
↓ 6 callersFunctionisBanned
(userId)
lib/isBanned.js:9
↓ 5 callersFunctionbytesToSize
(bytes, decimals = 2)
lib/myfunc.js:155
↓ 5 callersFunctiongetAntitag
(groupId, type)
lib/index.js:145
↓ 5 callersMethodgetCommand
(text, prefixes)
lib/commandHandler.js:200
↓ 5 callersFunctionhandleCall
(sock, calls)
lib/messageHandler.js:569
↓ 5 callersFunctioninitConfig
()
plugins/autoread.js:11
↓ 5 callersFunctionisGhostModeActive
()
plugins/autotyping.js:45
↓ 5 callersFunctionisSudo
(userId)
lib/index.js:203
↓ 5 callersFunctionruntime
(seconds)
lib/myfunc.js:69
↓ 5 callersFunctionshowTyping
(sock, chatId)
plugins/chatbot.js:72
↓ 5 callersFunctionwriteErrorLog
(entry)
lib/logger.js:30
↓ 4 callersFunctionboard_to_str
(board)
lib/sudoku.py:102
↓ 4 callersFunctioncatch_request
Helper function to catch common exceptions encountered when establishing a connection with a HTTP/HTTPS request
lib/speed.py:727
↓ 4 callersFunctioncompress
(obj)
lib/lightweight_store.js:54
↓ 4 callersFunctiondecompress
(buf)
lib/lightweight_store.js:63
↓ 4 callersMethoddict
Return dictionary of result data
lib/speed.py:1035
↓ 4 callersFunctionevent_is_set
(event)
lib/speed.py:299
↓ 4 callersFunctionfetchQuotes
()
plugins/setbio.js:11
↓ 4 callersFunctionformat_board
Format board as pretty ASCII with box drawing.
lib/sudoku.py:119
↓ 4 callersFunctiongetAntilink
(chatId, _type)
plugins/antilink.js:18
↓ 4 callersFunctiongetUserNotes
(userId)
plugins/notes.js:8
↓ 4 callersFunctionget_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 callersFunctionloadSchedules
()
plugins/schedule.js:11
↓ 4 callersFunctionloadState
()
plugins/mention.js:12
↓ 4 callersFunctionsaveAntibadwordSettings
(chatId, settings)
plugins/antibadword.js:6
↓ 4 callersFunctionscheduleDelete
(p)
plugins/igs.js:18
↓ 4 callersFunctionunixTimestampSeconds
(date = new Date())
lib/myfunc.js:8
↓ 4 callersFunctionupdateAutoBio
(sock)
plugins/setbio.js:55
↓ 4 callersMethodwrite
(self, s)
lib/speed.py:176
↓ 4 callersFunctionwriteConfig
(config)
plugins/autostatus.js:50
↓ 3 callersFunctionclockString
(ms)
lib/myfunc.js:81
↓ 3 callersFunctioncreateMockSock
(overrides = {})
test/mocks/baileys.js:3
↓ 3 callersFunctiondisplayProgressBar
* Display progress bar in chat
plugins/hack.js:48
↓ 3 callersFunctiondownloadMediaMessage
(message, mediaType)
plugins/hidetag.js:4
↓ 3 callersFunctionensureSessionDirectory
()
index.js:107
↓ 3 callersFunctionextractPhoneNumber
* Extract real phone number from various JID formats
lib/print.js:7
↓ 3 callersFunctionffmpeg
(buffer, args = [], ext = '', ext2 = '')
lib/converter.js:7
↓ 3 callersMethodfindSuggestion
(cmd)
lib/commandHandler.js:161
↓ 3 callersFunctionformatBytes
(bytes)
plugins/mega.js:3
↓ 3 callersFunctiongetAntiBadword
(chatId, _type)
lib/antibadword.js:46
↓ 3 callersMethodget_best_server
Perform a speedtest.net "ping" to determine which speedtest.net server has the lowest latency
lib/speed.py:1440
↓ 3 callersMethodget_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 callersFunctionhandleStatus
(sock, status)
lib/messageHandler.js:558
↓ 3 callersFunctionhasValidSession
()
index.js:114
↓ 3 callersFunctionisAutotypingEnabled
()
plugins/autotyping.js:35
↓ 3 callersFunctionisGoodByeOn
(jid)
lib/index.js:330
↓ 3 callersFunctionisOwnerOnly
* Check if user is ONLY owner
lib/isOwner.js:41
↓ 3 callersFunctionisWelcomeOn
(jid)
lib/index.js:288
↓ 3 callersFunctionis_valid
(board, row, col, num)
lib/sudoku.py:13
↓ 3 callersFunctionloadAntideleteConfig
()
plugins/antidelete.js:51
↓ 3 callersFunctionrandomFileName
()
lib/exif.js:6
↓ 3 callersFunctionreactToStatus
(sock, statusKey)
plugins/autostatus.js:71
↓ 3 callersFunctionreadConfig
()
plugins/autostatus.js:31
↓ 3 callersMethodrender
()
lib/tictactoe.js:61
↓ 3 callersFunctionsaveSchedules
(data)
plugins/schedule.js:31
↓ 3 callersFunctionsaveUserNotes
(userId, notes)
plugins/notes.js:17
↓ 3 callersFunctiontoGB
(b)
plugins/sysinfo.js:20
↓ 3 callersFunctiontoMB
(b)
plugins/sysinfo.js:19
↓ 3 callersMethodtoggleCommand
(name)
lib/commandHandler.js:137
↓ 3 callersFunctiontrim
lib/analyze.cpp:20
↓ 3 callersFunctionwait
(ms)
plugins/terabox.js:12
↓ 3 callersFunctionwrite
(data)
lib/speed.py:222
↓ 2 callersFunctionUploadFileUgu
(input)
lib/uploader.js:28
↓ 2 callersFunction_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 callersFunctionaddCommandReaction
(sock, message)
lib/reactions.js:34
↓ 2 callersFunctionaddGoodbye
(jid, enabled, message)
lib/index.js:298
↓ 2 callersFunctionaddWelcome
(jid, enabled, message)
lib/index.js:256
↓ 2 callersFunctionbuild_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 callersFunctionbuild_user_agent
Build a Mozilla/5.0 compatible User-Agent string
lib/speed.py:675
↓ 2 callersFunctionclearDirectory
(dirPath)
plugins/cleartmp.js:4
↓ 2 callersFunctionclearTmpDirectory
()
plugins/cleartmp.js:36
↓ 2 callersFunctioncreate_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