MCPcopy Create free account

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

Functions820 in github.com/GlobalTechInfo/MEGA-MDX

↓ 80 callersFunctionprintLog
* Simple colored logger for events
lib/print.ts:257
↓ 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.ts:18
↓ 24 callersMethodclose
(self)
lib/speed.py:642
↓ 22 callersMethodconnect
Connect to the host and port specified in __init__.
lib/speed.py:432
↓ 22 callersFunctiondataFile
(filename: string)
lib/paths.ts:10
↓ 18 callersFunctiondownloadMediaMessage
(message: any, mediaType: any)
plugins/tag.ts:6
↓ 18 callersMethodrun
(self)
lib/speed.py:910
↓ 17 callersFunctionrun
(cmd: string)
plugins/update.ts:10
↓ 16 callersFunctiongetSt
(val: any)
plugins/settings.ts:49
↓ 16 callersFunctionsaveUserGroupData
(data: any)
lib/index.ts:65
↓ 15 callersFunctiondelay
(ms: any)
plugins/hack.ts:56
↓ 14 callersFunctioncleanJid
(jid: string)
lib/isOwner.ts:5
↓ 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: any, messageUpdate: any)
lib/messageHandler.ts:57
↓ 11 callersMethodregisterCommand
(plugin: any)
lib/commandHandler.ts:86
↓ 10 callersFunctionisOwnerOrSudo
* Check if user is owner or sudo
lib/isOwner.ts:13
↓ 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
↓ 6 callersFunctionclean
(text: string | string[] | undefined, maxLen = 400)
plugins/medicine.ts:53
↓ 6 callersFunctioncreateMockMessage
(opts: { text?: string; chatId?: string; senderId?: string; fromMe?: boolean; isGroup?: bo
test/mocks/baileys.ts:55
↓ 6 callersFunctionfmt
(v: any)
plugins/privacy.ts:55
↓ 6 callersFunctiongetRandomEmoji
(arr: any)
plugins/smartmenu.ts:34
↓ 6 callersFunctionhandleGroupParticipantUpdate
(sock: any, update: any)
lib/messageHandler.ts:565
↓ 6 callersFunctionisAdmin
(sock: any, chatId: string, senderId: string)
lib/isAdmin.ts:2
↓ 6 callersFunctionisBanned
(userId: any)
lib/isBanned.ts:12
↓ 5 callersFunctionbytesToSize
(bytes: number, decimals = 2)
lib/myfunc.ts:182
↓ 5 callersFunctiongetAntitag
(groupId: string, type: string)
lib/index.ts:147
↓ 5 callersMethodgetCommand
(text: string, prefixes: string[])
lib/commandHandler.ts:233
↓ 5 callersFunctionhandleCall
(sock: any, calls: any)
lib/messageHandler.ts:632
↓ 5 callersFunctioninitConfig
()
plugins/autoread.ts:16
↓ 5 callersFunctionisGhostModeActive
()
plugins/autotyping.ts:50
↓ 5 callersFunctionisSudo
(userId: string)
lib/index.ts:203
↓ 5 callersFunctionruntime
(seconds: number)
lib/myfunc.ts:81
↓ 5 callersFunctionsaveConfig
(config: AntiSpamConfig)
plugins/antispam.ts:131
↓ 5 callersFunctionshowTyping
(sock: any, chatId: string)
plugins/chatbot.ts:76
↓ 5 callersFunctionwriteErrorLog
(entry: Record<string, any>)
lib/logger.ts: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.ts:61
↓ 4 callersFunctiondecompress
(buf)
lib/lightweight_store.ts:70
↓ 4 callersMethoddict
Return dictionary of result data
lib/speed.py:1035
↓ 4 callersFunctionevent_is_set
(event)
lib/speed.py:299
↓ 4 callersFunctionfetchQuotes
()
plugins/setbio.ts:15
↓ 4 callersFunctionformat_board
Format board as pretty ASCII with box drawing.
lib/sudoku.py:119
↓ 4 callersFunctiongetAntilink
(chatId: string, _type: string)
plugins/antilink.ts:20
↓ 4 callersFunctiongetUserNotes
(userId: any)
plugins/notes.ts:12
↓ 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.ts:24
↓ 4 callersFunctionloadState
()
plugins/mention.ts:16
↓ 4 callersFunctionsaveAntibadwordSettings
(chatId: string, settings: any)
plugins/antibadword.ts:9
↓ 4 callersFunctionsaveConfig
(config: any)
plugins/autoread.ts:32
↓ 4 callersFunctionscheduleDelete
(p: string)
plugins/igs.ts:21
↓ 4 callersFunctionunixTimestampSeconds
(date: Date = new Date())
lib/myfunc.ts:11
↓ 4 callersFunctionupdateAutoBio
(sock: any)
plugins/setbio.ts:64
↓ 4 callersMethodwrite
(self, s)
lib/speed.py:176
↓ 4 callersFunctionwriteConfig
(config: any)
plugins/autostatus.ts:56
↓ 3 callersFunctionclockString
(ms: number)
lib/myfunc.ts:94
↓ 3 callersFunctioncreateMockSock
(overrides: Record<string, any> = {})
test/mocks/baileys.ts:3
↓ 3 callersFunctiondisplayProgressBar
* Display progress bar in chat
plugins/hack.ts:61
↓ 3 callersFunctiondownloadMediaMessage
(message: any, mediaType: any)
plugins/hidetag.ts:6
↓ 3 callersFunctionensureSessionDirectory
()
index.ts:130
↓ 3 callersFunctionextractPhoneNumber
* Extract real phone number from various JID formats
lib/print.ts:8
↓ 3 callersFunctionffmpeg
(buffer: Buffer, args: string[] = [], ext: string = '', ext2: string = '')
lib/converter.ts:10
↓ 3 callersMethodfindSuggestion
(cmd: string)
lib/commandHandler.ts:189
↓ 3 callersFunctionfmt
(b: number)
plugins/sysinfo.ts:24
↓ 3 callersFunctionformatBytes
(bytes: number)
plugins/mega.ts:5
↓ 3 callersFunctiongetAntiBadword
(chatId: string, _type?: string)
lib/antibadword.ts:47
↓ 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: any, status: any)
lib/messageHandler.ts:621
↓ 3 callersFunctionhasValidSession
()
index.ts:138
↓ 3 callersFunctionisAutotypingEnabled
()
plugins/autotyping.ts:40
↓ 3 callersFunctionisGoodByeOn
(jid: string)
lib/index.ts:330
↓ 3 callersFunctionisOwnerOnly
* Check if user is ONLY owner
lib/isOwner.ts:49
↓ 3 callersFunctionisWelcomeOn
(jid: string)
lib/index.ts:287
↓ 3 callersFunctionis_valid
(board, row, col, num)
lib/sudoku.py:13
↓ 3 callersFunctionloadAntideleteConfig
()
plugins/antidelete.ts:60
↓ 3 callersFunctionlow
(s: string)
plugins/localbot.ts:12
↓ 3 callersFunctionlow
(s: string)
plugins/localbot2.ts:12
↓ 3 callersFunctionrandomFileName
()
lib/exif.ts:18
↓ 3 callersFunctionreactToStatus
(sock: any, statusKey: any)
plugins/autostatus.ts:78
↓ 3 callersFunctionreadConfig
()
plugins/autostatus.ts:38
↓ 3 callersMethodrender
()
lib/tictactoe.ts:70
↓ 3 callersFunctionsaveSchedules
(data: ScheduledMessage[])
plugins/schedule.ts:42
↓ 3 callersFunctionsaveUserNotes
(userId: any, notes: any)
plugins/notes.ts:21
↓ 3 callersMethodtoggleCommand
(name: string)
lib/commandHandler.ts:162
↓ 3 callersFunctiontrim
lib/analyze.cpp:20
↓ 3 callersFunctionwait
(ms: number)
plugins/terabox.ts:16
↓ 3 callersFunctionwrite
(data)
lib/speed.py:222
↓ 2 callersFunctionUploadFileUgu
(input: any)
lib/uploader.ts:30
↓ 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: any, message: any)
lib/reactions.ts:39
↓ 2 callersFunctionaddGoodbye
(jid: string, enabled: boolean, message?: string)
lib/index.ts:297
↓ 2 callersFunctionaddWelcome
(jid: string, enabled: boolean, message?: string)
lib/index.ts:254
↓ 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 callersFunctionclean
(text: str)
lib/localbot.py:16
next →1–100 of 820, ranked by callers