- If you facing some issue, just open Issues on github page
- ✔️ | Simple
- ✔️ | No Button
- ✔️ | Multi Device
- ✔️ | Plugins
NOTE: THIS BOT IS ESM BOT
I opened discussiond for asking any problem or new feature, if i agree with that i will invite you in my repo/pull request your idea in this source code :)
Fork the repo
Language Search/Type nix Bash
Don't nodejs
add forget uptimerobot click
- Visit the web this
- Login or register
- Press Create Repl
- Press
import for github
- Search for this Repo or type in
xxirfanx/zoromd
- Language Search/Type
nix Bash
Don't nodejs - Press
Import from Github
- Edit
config.js
replace the owner number with another number or edit - Swipe Right from the post
Shell
then click - type
npm install
to install modules - Wait until the module install process is complete
- Run the Bot by typing this
- add forget uptimerobot click
node . --server
- Download And Install Git
Click Here
- Download And Install NodeJS
Click Here
- Download And Install FFmpeg
Click Here
(Don't Forget Add FFmpeg to PATH enviroment variables) - Download And Install ImageMagick
Click Here
git clone https://github.com/xxirfanx/zoromd
cd zoromd
npm install
node .
Activate self mode (Ignores other)
Used for heroku or scan through website
pass mongodb url or cloud url to connect to database, by the default it will connect to database.json
If enabled, all incoming messages will be marked as read
Development Testing Mode
let handler = async (m, {
command,
args,
text,
usedPrefix
}) => {
// put here your code
}
handler.command = ['order'] // add here the command
handler.help = ['order'] // displays this command in the menu
handler.tags = ['main'] // displays in the menu in the tag category main
handler.group = true // Fill in true for commands that cannot be accessed in private chat
handler.admin = true // Fill in true if the command can only be accessed by group admins
handler.botAdmin = true // can be accessed if the bot is included admin group (true)
handler.limit = 1 // 1 limits will be used
handler.owner = true // only accessible owner
handler.disabled = true // can't be accessed by anyone
handler.premium = true // only accessible user premium
export default handler // or module.exports = handler
conn.reply(m.chat, 'text', m)
//without reply message
conn.reply(m.chat, 'text', null) // just need to change "m" to null, can be applied in conn.sendFile
conn.reply(m.chat, 'text @919911111111', m, {
mentions: ['[email protected]']
})
// or
m.reply('anu @919911111111', null, {
mentions: ['[email protected]']
})
// use thumbnail & tag
m.reply('anu @919911111111', null, {
contextInfo: {
mentionedJid: ['[email protected]'],
externalAdReply: await thumb(buffer_image, ['title', 'body'], [true, true])
}
})
conn.reply(m.chat, 'anu @919911111111', m, {
contextInfo: {
mentionedJid: ['[email protected]'],
externalAdReply: await thumb(buffer_image, ['title', 'body'], [true, true])
}
})
m.reply('text')
conn.sendFile(m.chat, 'buffer', 'filename.jpg', 'caption', m)
// mode document
conn.sendFile(m.chat, 'buffer', 'filename.jpg', 'caption', m, null, {
asDocument: true
})
// mode document and thumbnail
conn.sendFile(m.chat, 'buffer', 'filename.jpg', 'caption', m, null, {
asDocument: true,
contextInfo: {
externalAdReply: await thumb(buffer_image, ['title', 'body'], [true, true])
}
})
// mode document and thumbnail and tag
conn.sendFile(m.chat, 'buffer', 'filename.jpg', 'caption @919911111111', m, null, {
asDocument: true,
contextInfo: {
mentionedJid: ['[email protected]'],
externalAdReply: await thumb(buffer_image, ['title', 'body'], [true, true])
}
})
conn.sendFile(m.chat, 'buffer', 'filename.jpg', 'caption @919911111111', m, null, {
mentions: ['[email protected]']
})
//use thumbnail
conn.sendFile(m.chat, 'buffer', 'filename.jpg', 'caption @919911111111', m, null, {
contextInfo: {
mentionedJid: ['[email protected]'],
externalAdReply: await thumb(buffer_image, ['title', 'body'], [true, true])
}
})
var a = await m.reply('text')
conn.editMessage(m.chat, a.key, 'text', m)
// or
let a = await conn.reply(m.chat, 'text', m)
conn.editMessage(m.chat, a.key, 'text', m)
m.react('🤑')
- Not For Sale
- Don't forget give star this repo
- Follow Github
- Don't use this repository wrong!
- If you have problem chat me in owner number
- How to delete session?
You can delete folder
sessions
or run commandrm -rf sessions
- How to change owner number?
You can change in
config.js
, on global.owner. make sure you use correct syntax.
global.owner = [
['919911111111', 'Name', true]
]
and
global.nomorown = '919911111111'
First argument on array is number like
919911111111
, second argument is name likeName
(if this argument pass, if usingowner
command, this number will send as owner), third argument is developer liketrue
(if this argument pass, if there have plugins error (not syntax error) the error will send to developer)
- fork this repository
- Change/edit/create what you want. for example you can add features, fix bug, etc
- test before making a pull req!!
- make a pull req!
- if your pull req is already in acc/merge, you can delete your branch or you can create pull req again :)
𝐀𝐮𝐭𝐡𝐨𝐫 : lua ser ofc
𝐖𝐚 : +91 6235 050 956
𝐛𝐚𝐬𝐞 : Narutomo and BochilGaming and Rlxfly
𝐌𝐲 𝐏𝐫𝐨𝐣𝐞𝐜𝐭 : 7 may 2023