Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GlobalTechInfo/MEGA-MDX
/ functions
Functions
820 in github.com/GlobalTechInfo/MEGA-MDX
⨍
Functions
820
◇
Types & classes
55
↓ 80 callers
Function
printLog
* Simple colored logger for events
lib/print.ts:257
↓ 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.ts:18
↓ 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
↓ 22 callers
Function
dataFile
(filename: string)
lib/paths.ts:10
↓ 18 callers
Function
downloadMediaMessage
(message: any, mediaType: any)
plugins/tag.ts:6
↓ 18 callers
Method
run
(self)
lib/speed.py:910
↓ 17 callers
Function
run
(cmd: string)
plugins/update.ts:10
↓ 16 callers
Function
getSt
(val: any)
plugins/settings.ts:49
↓ 16 callers
Function
saveUserGroupData
(data: any)
lib/index.ts:65
↓ 15 callers
Function
delay
(ms: any)
plugins/hack.ts:56
↓ 14 callers
Function
cleanJid
(jid: string)
lib/isOwner.ts:5
↓ 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: any, messageUpdate: any)
lib/messageHandler.ts:57
↓ 11 callers
Method
registerCommand
(plugin: any)
lib/commandHandler.ts:86
↓ 10 callers
Function
isOwnerOrSudo
* Check if user is owner or sudo
lib/isOwner.ts:13
↓ 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
↓ 6 callers
Function
clean
(text: string | string[] | undefined, maxLen = 400)
plugins/medicine.ts:53
↓ 6 callers
Function
createMockMessage
(opts: { text?: string; chatId?: string; senderId?: string; fromMe?: boolean; isGroup?: bo
test/mocks/baileys.ts:55
↓ 6 callers
Function
fmt
(v: any)
plugins/privacy.ts:55
↓ 6 callers
Function
getRandomEmoji
(arr: any)
plugins/smartmenu.ts:34
↓ 6 callers
Function
handleGroupParticipantUpdate
(sock: any, update: any)
lib/messageHandler.ts:565
↓ 6 callers
Function
isAdmin
(sock: any, chatId: string, senderId: string)
lib/isAdmin.ts:2
↓ 6 callers
Function
isBanned
(userId: any)
lib/isBanned.ts:12
↓ 5 callers
Function
bytesToSize
(bytes: number, decimals = 2)
lib/myfunc.ts:182
↓ 5 callers
Function
getAntitag
(groupId: string, type: string)
lib/index.ts:147
↓ 5 callers
Method
getCommand
(text: string, prefixes: string[])
lib/commandHandler.ts:233
↓ 5 callers
Function
handleCall
(sock: any, calls: any)
lib/messageHandler.ts:632
↓ 5 callers
Function
initConfig
()
plugins/autoread.ts:16
↓ 5 callers
Function
isGhostModeActive
()
plugins/autotyping.ts:50
↓ 5 callers
Function
isSudo
(userId: string)
lib/index.ts:203
↓ 5 callers
Function
runtime
(seconds: number)
lib/myfunc.ts:81
↓ 5 callers
Function
saveConfig
(config: AntiSpamConfig)
plugins/antispam.ts:131
↓ 5 callers
Function
showTyping
(sock: any, chatId: string)
plugins/chatbot.ts:76
↓ 5 callers
Function
writeErrorLog
(entry: Record<string, any>)
lib/logger.ts: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.ts:61
↓ 4 callers
Function
decompress
(buf)
lib/lightweight_store.ts:70
↓ 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.ts:15
↓ 4 callers
Function
format_board
Format board as pretty ASCII with box drawing.
lib/sudoku.py:119
↓ 4 callers
Function
getAntilink
(chatId: string, _type: string)
plugins/antilink.ts:20
↓ 4 callers
Function
getUserNotes
(userId: any)
plugins/notes.ts:12
↓ 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.ts:24
↓ 4 callers
Function
loadState
()
plugins/mention.ts:16
↓ 4 callers
Function
saveAntibadwordSettings
(chatId: string, settings: any)
plugins/antibadword.ts:9
↓ 4 callers
Function
saveConfig
(config: any)
plugins/autoread.ts:32
↓ 4 callers
Function
scheduleDelete
(p: string)
plugins/igs.ts:21
↓ 4 callers
Function
unixTimestampSeconds
(date: Date = new Date())
lib/myfunc.ts:11
↓ 4 callers
Function
updateAutoBio
(sock: any)
plugins/setbio.ts:64
↓ 4 callers
Method
write
(self, s)
lib/speed.py:176
↓ 4 callers
Function
writeConfig
(config: any)
plugins/autostatus.ts:56
↓ 3 callers
Function
clockString
(ms: number)
lib/myfunc.ts:94
↓ 3 callers
Function
createMockSock
(overrides: Record<string, any> = {})
test/mocks/baileys.ts:3
↓ 3 callers
Function
displayProgressBar
* Display progress bar in chat
plugins/hack.ts:61
↓ 3 callers
Function
downloadMediaMessage
(message: any, mediaType: any)
plugins/hidetag.ts:6
↓ 3 callers
Function
ensureSessionDirectory
()
index.ts:130
↓ 3 callers
Function
extractPhoneNumber
* Extract real phone number from various JID formats
lib/print.ts:8
↓ 3 callers
Function
ffmpeg
(buffer: Buffer, args: string[] = [], ext: string = '', ext2: string = '')
lib/converter.ts:10
↓ 3 callers
Method
findSuggestion
(cmd: string)
lib/commandHandler.ts:189
↓ 3 callers
Function
fmt
(b: number)
plugins/sysinfo.ts:24
↓ 3 callers
Function
formatBytes
(bytes: number)
plugins/mega.ts:5
↓ 3 callers
Function
getAntiBadword
(chatId: string, _type?: string)
lib/antibadword.ts:47
↓ 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: any, status: any)
lib/messageHandler.ts:621
↓ 3 callers
Function
hasValidSession
()
index.ts:138
↓ 3 callers
Function
isAutotypingEnabled
()
plugins/autotyping.ts:40
↓ 3 callers
Function
isGoodByeOn
(jid: string)
lib/index.ts:330
↓ 3 callers
Function
isOwnerOnly
* Check if user is ONLY owner
lib/isOwner.ts:49
↓ 3 callers
Function
isWelcomeOn
(jid: string)
lib/index.ts:287
↓ 3 callers
Function
is_valid
(board, row, col, num)
lib/sudoku.py:13
↓ 3 callers
Function
loadAntideleteConfig
()
plugins/antidelete.ts:60
↓ 3 callers
Function
low
(s: string)
plugins/localbot.ts:12
↓ 3 callers
Function
low
(s: string)
plugins/localbot2.ts:12
↓ 3 callers
Function
randomFileName
()
lib/exif.ts:18
↓ 3 callers
Function
reactToStatus
(sock: any, statusKey: any)
plugins/autostatus.ts:78
↓ 3 callers
Function
readConfig
()
plugins/autostatus.ts:38
↓ 3 callers
Method
render
()
lib/tictactoe.ts:70
↓ 3 callers
Function
saveSchedules
(data: ScheduledMessage[])
plugins/schedule.ts:42
↓ 3 callers
Function
saveUserNotes
(userId: any, notes: any)
plugins/notes.ts:21
↓ 3 callers
Method
toggleCommand
(name: string)
lib/commandHandler.ts:162
↓ 3 callers
Function
trim
lib/analyze.cpp:20
↓ 3 callers
Function
wait
(ms: number)
plugins/terabox.ts:16
↓ 3 callers
Function
write
(data)
lib/speed.py:222
↓ 2 callers
Function
UploadFileUgu
(input: any)
lib/uploader.ts:30
↓ 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: any, message: any)
lib/reactions.ts:39
↓ 2 callers
Function
addGoodbye
(jid: string, enabled: boolean, message?: string)
lib/index.ts:297
↓ 2 callers
Function
addWelcome
(jid: string, enabled: boolean, message?: string)
lib/index.ts:254
↓ 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
clean
(text: str)
lib/localbot.py:16
next →
1–100 of 820, ranked by callers