Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mruniquehacker/Knightbot-MD
/ functions
Functions
292 in github.com/mruniquehacker/Knightbot-MD
⨍
Functions
292
◇
Types & classes
4
↓ 26 callers
Function
loadUserGroupData
()
lib/index.js:5
↓ 18 callers
Function
isAdmin
(sock, chatId, senderId)
lib/isAdmin.js:2
↓ 18 callers
Function
textmakerCommand
(sock, chatId, message, q, type)
commands/textmaker.js:28
↓ 17 callers
Function
run
(cmd)
commands/update.js:8
↓ 16 callers
Function
saveUserGroupData
(data)
lib/index.js:38
↓ 15 callers
Function
exec
(sock, message, args)
commands/removebg.js:33
↓ 12 callers
Function
isOwnerOrSudo
(senderId, sock = null, chatId = null)
lib/isOwner.js:4
↓ 12 callers
Function
miscCommand
(sock, chatId, message, args)
commands/misc.js:56
↓ 8 callers
Function
downloadMediaMessage
(message, mediaType)
commands/tag.js:6
↓ 8 callers
Function
getQuotedOrOwnImageUrl
(sock, message)
commands/misc.js:5
↓ 8 callers
Function
showTyping
(sock, chatId)
commands/chatbot.js:38
↓ 8 callers
Function
simpleAvatarOnly
(endpoint)
commands/misc.js:60
↓ 7 callers
Function
ffmpeg
(buffer, args = [], ext = '', ext2 = '')
lib/converter.js:16
↓ 7 callers
Function
piesAlias
(sock, chatId, message, country)
commands/pies.js:38
↓ 7 callers
Function
readJsonSafe
(path, fallback)
commands/settings.js:3
↓ 6 callers
Function
uploadImage
* Upload file to qu.ax * Supported mimetypes: * - `image/jpeg` * - `image/jpg` * - `image/png` * @param {Buffer} buffer File Buffer * @return {P
lib/uploadImage.js:16
↓ 5 callers
Function
isSudo
(userId)
lib/index.js:178
↓ 4 callers
Function
delay
commands/stickertelegram.js:3
↓ 4 callers
Function
getAntilink
(groupId, type)
lib/index.js:74
↓ 4 callers
Function
getAntitag
(groupId, type)
lib/index.js:120
↓ 4 callers
Function
loadState
()
commands/mention.js:6
↓ 4 callers
Function
saveUserGroupData
(data)
commands/chatbot.js:24
↓ 4 callers
Function
scheduleDelete
(p)
commands/igs.js:23
↓ 3 callers
Function
clearTmpDirectory
()
commands/cleartmp.js:36
↓ 3 callers
Function
downloadMediaMessage
(message, mediaType)
commands/hidetag.js:6
↓ 3 callers
Function
ensureGroupAndAdmin
(sock, chatId, senderId)
commands/groupmanage.js:5
↓ 3 callers
Function
getAntiBadword
(groupId, type)
lib/index.js:357
↓ 3 callers
Function
isAutotypingEnabled
()
commands/autotyping.js:113
↓ 3 callers
Function
isGoodByeOn
(jid)
lib/index.js:307
↓ 3 callers
Function
isWelcomeOn
(jid)
lib/index.js:264
↓ 3 callers
Function
loadAntideleteConfig
()
commands/antidelete.js:57
↓ 3 callers
Function
reactToStatus
(sock, statusKey)
commands/autostatus.js:142
↓ 3 callers
Function
tryRequest
(getter, attempts = 3)
commands/video.js:12
↓ 3 callers
Function
tryRequest
(getter, attempts = 3)
commands/song.js:15
↓ 2 callers
Function
UploadFileUgu
(input)
lib/uploader.js:42
↓ 2 callers
Function
addGoodbye
(jid, enabled, message)
lib/index.js:274
↓ 2 callers
Function
addWelcome
(jid, enabled, message)
lib/index.js:231
↓ 2 callers
Function
animeCommand
(sock, chatId, message, args)
commands/anime.js:118
↓ 2 callers
Function
clearDirectory
(dirPath)
commands/cleartmp.js:6
↓ 2 callers
Function
escapeDrawtextText
(s)
commands/attp.js:36
↓ 2 callers
Function
fetchFromApi
(u)
commands/facebook.js:41
↓ 2 callers
Function
fetchPiesImageBuffer
(country)
commands/pies.js:6
↓ 2 callers
Function
formatMention
commands/ship.js:19
↓ 2 callers
Function
getMediaBufferAndExt
(message)
commands/url.js:6
↓ 2 callers
Function
getRandomDelay
()
commands/chatbot.js:33
↓ 2 callers
Function
handleChatbotResponse
(sock, chatId, message, userMessage, senderId)
commands/chatbot.js:185
↓ 2 callers
Function
handleMentionDetection
(sock, chatId, message)
commands/mention.js:49
↓ 2 callers
Function
handleTagDetection
(sock, chatId, message, senderId)
commands/antitag.js:76
↓ 2 callers
Function
handleTicTacToeMove
(sock, chatId, senderId, text)
commands/tictactoe.js:94
↓ 2 callers
Function
igsCommand
(sock, chatId, message, crop = false)
commands/igs.js:187
↓ 2 callers
Function
imageToWebp
(media)
lib/exif.js:20
↓ 2 callers
Function
incrementWarningCount
(groupId, userId)
lib/index.js:147
↓ 2 callers
Function
initConfig
()
commands/autoread.js:14
↓ 2 callers
Function
initConfig
()
commands/autotyping.js:14
↓ 2 callers
Function
loadAntilinkSettings
()
lib/antilinkHelper.js:6
↓ 2 callers
Function
loadMessageCounts
()
commands/topmembers.js:6
↓ 2 callers
Function
loadUserGroupData
()
commands/chatbot.js:14
↓ 2 callers
Function
ownerCommand
(sock, chatId)
commands/owner.js:3
↓ 2 callers
Function
readState
()
commands/pmblocker.js:6
↓ 2 callers
Method
render
()
lib/tictactoe.js:69
↓ 2 callers
Function
resetWarningCount
(groupId, userId)
lib/index.js:163
↓ 2 callers
Function
saveAutoReactionState
(state)
lib/reactions.js:24
↓ 2 callers
Function
saveState
(state)
commands/mention.js:21
↓ 2 callers
Function
scheduleFileDeletion
(filePath)
commands/simage.js:11
↓ 2 callers
Function
setAntiBadword
(groupId, type, action)
lib/index.js:338
↓ 2 callers
Function
setAntilink
(groupId, type, action)
lib/index.js:55
↓ 2 callers
Function
setAntitag
(groupId, type, action)
lib/index.js:101
↓ 2 callers
Function
simpCommand
(sock, chatId, quotedMsg, mentionedJid, sender)
commands/simp.js:3
↓ 2 callers
Function
videoToWebp
(media)
lib/exif.js:47
↓ 2 callers
Function
writeState
(enabled, message)
commands/pmblocker.js:20
↓ 1 callers
Function
Antilink
* Handles the Antilink functionality for group chats. * * @param {object} msg - The message object to process. * @param {object} sock - The socket
lib/antilink.js:25
↓ 1 callers
Function
TelegraPh
(Path)
lib/uploader.js:21
↓ 1 callers
Function
addCommandReaction
(sock, message)
lib/reactions.js:45
↓ 1 callers
Function
addSudo
(userJid)
lib/index.js:189
↓ 1 callers
Function
aiCommand
(sock, chatId, message)
commands/ai.js:4
↓ 1 callers
Function
aliveCommand
(sock, chatId, message)
commands/alive.js:2
↓ 1 callers
Function
answerTrivia
(sock, chatId, answer)
commands/trivia.js:29
↓ 1 callers
Function
antibadwordCommand
(sock, chatId, message, senderId, isSenderAdmin)
commands/antibadword.js:4
↓ 1 callers
Function
anticallCommand
(sock, chatId, message, args)
commands/anticall.js:23
↓ 1 callers
Function
attpCommand
(sock, chatId, message)
commands/attp.js:6
↓ 1 callers
Function
autoStatusCommand
(sock, chatId, msg, args)
commands/autostatus.js:28
↓ 1 callers
Function
autoreadCommand
(sock, chatId, message)
commands/autoread.js:22
↓ 1 callers
Function
autotypingCommand
(sock, chatId, message)
commands/autotyping.js:22
↓ 1 callers
Function
banCommand
(sock, chatId, message)
commands/ban.js:6
↓ 1 callers
Function
blurCommand
(sock, chatId, message, quotedMessage)
commands/img-blur.js:5
↓ 1 callers
Function
characterCommand
(sock, chatId, message)
commands/character.js:4
↓ 1 callers
Function
cleanupTempFiles
()
lib/tempCleanup.js:5
↓ 1 callers
Function
clearCommand
(sock, chatId)
commands/clear.js:1
↓ 1 callers
Function
clearSessionCommand
(sock, chatId, msg)
commands/clearsession.js:18
↓ 1 callers
Function
clearTmpCommand
(sock, chatId, msg)
commands/cleartmp.js:50
↓ 1 callers
Function
complimentCommand
(sock, chatId, message)
commands/compliment.js:34
↓ 1 callers
Function
containsURL
* Checks if a string contains a URL. * * @param {string} str - The string to check. * @returns {boolean} - True if the string contains a URL, other
lib/antilink.js:14
↓ 1 callers
Function
convertBufferToStickerWebp
(inputBuffer, isAnimated, cropSquare)
commands/igs.js:11
↓ 1 callers
Function
convertMediaToSticker
(mediaBuffer, isAnimated)
commands/anime.js:24
↓ 1 callers
Function
copyRecursive
(src, dest, ignore = [], relative = '', outList = [])
commands/update.js:113
↓ 1 callers
Function
dareCommand
(sock, chatId, message)
commands/dare.js:3
↓ 1 callers
Function
delGoodBye
(jid)
lib/index.js:293
↓ 1 callers
Function
delWelcome
(jid)
lib/index.js:250
↓ 1 callers
Function
deleteCommand
(sock, chatId, message, senderId)
commands/delete.js:4
↓ 1 callers
Function
demoteCommand
(sock, chatId, mentionedJids, message)
commands/demote.js:3
next →
1–100 of 292, ranked by callers