This bot has been created by leveraging the @whiskeysockets/baileys library, and with the assistance of Node.js, this bot can be utilized.
Additionally, for enhanced functionality and user experience, various features have been integrated, making this bot a versatile and efficient tool for different purposes. Whether it's seamless communication, automated tasks, or personalized interactions, this bot is designed to meet diverse needs with ease.
This project is not entirely the result of my choice, and I am not the person who built this bot to its current state. My role is limited to developing some parts of the code, while the majority of the development is carried out by the main developer, Ilsyaa.
This collaboration has allowed the project to evolve into what we see today, with contributions from various parties to ensure sustainability and significant feature enhancements.
Before installing this bot, it is mandatory for you to have a hosting space for the bot in advance. As a basic example, I am using Railway to deploy my WhatsApp bot.
To initiate the installation dependencies on Railway, you need to create a Dockerfile beforehand, or you can use manual commands as an alternative.
npm install
Once you have finished installing the bot dependencies, run it with:
node index.js
module.exports = {
name : "menu", // Use lowercase letters and hyphens, avoid spaces, and ensure uniqueness
description : "This is menu bot", // Feature explanation, content is free to be filled
// If you delete this command line, these commands will run whenever there is an incoming message, regardless of its content. You can check in the commands/_ folder for more details.
cmd : ['help', 'menu'],
// option : Add this to automatically display it on the menu list.
menu : {
label : 'translate', // This is for grouping based on labels.
example : "_en text_", // This is an example of usage; later, in the menu, it will appear as !help en text.
},
options : {
// You can add this option if you want the feature to work without using a prefix.
withoutPrefix : true
},
run : async({ m, sock}) => {
if(!m.isGroup) return m.reply("This feature can only be used in groups.")
if(!m.isAdmin) return m.reply("This feature is only for administrators.")
if(!m.isBotAdmin) return m.reply("The bot must be an admin.")
// any code
}
}
See also the list of contributors who participated in this project.