WhatsApp bot commands are text instructions that tell a bot to perform a particular action.
For example, a user might send a menu instruction to display available features or a sticker instruction to convert an image into a sticker.
Most command based MD bots use a prefix before the command name.
Common prefix examples include:
Dot:Example: .menu.
Exclamation mark:Example: !menu.
Slash:Example: /menu.
Hash:Example: #menu.
The prefix depends on the project's configuration.
A bot usually checks the incoming message, identifies the prefix, recognizes the command, checks the user's permissions, and then runs the corresponding function.
1. Menu and Help Commands
Menu and help commands are generally the best starting point for beginners.
They help users discover available features and understand how to interact with the bot.
menu:What it does: Displays the main bot menu.
help:What it does: Provides instructions about using the bot.
commands:What it does: Displays available command information.
allmenu:What it does: May display a more complete feature menu.
list:What it does: May show supported command categories.
about:What it does: Displays information about the bot.
info:What it does: Provides general bot information.
ping:What it does: May check whether the bot is responding.
owner:What it does: Displays available owner contact information.
version:What it does: Shows the installed bot version if supported.
These are illustrative names, not universal commands.
Some projects combine menu and help functionality into one command, while others provide separate menus for different categories.
Permission: Usually public, depending on the bot.
2. Group Management Commands
Group management commands help administrators control selected group activities.
They can make it easier to welcome members, manage unwanted links, and perform moderation tasks.
Here are common example commands.
welcome:What it does: Enables or disables welcome messages if supported.
goodbye:What it does: Controls automatic farewell messages.
antilink:What it does: Configures link moderation.
antispam:What it does: Controls supported spam protection features.
tagall:What it does: Mentions group members when supported.
hidetag:What it does: Sends a message while mentioning members without displaying individual names in the usual way, if supported.
kick:What it does: Requests removal of a group member.
add:What it does: Attempts to add a member where permitted.
promote:What it does: Promotes a member to group administrator.
demote:What it does: Removes administrator status from a member.
groupinfo:What it does: Displays group information.
setname:What it does: Changes the group name if permissions allow.
setdesc:What it does: Changes the group description.
open:What it does: May allow members to send messages in a restricted group.
close:What it does: May restrict ordinary members from sending messages.
mute:What it does: May enable a supported group restriction or bot moderation setting.
These commands require careful use.
For example, removing a member or changing group settings may require the connected WhatsApp account to have appropriate group administrator permissions.
The bot may also check whether the person requesting the action is an authorized group administrator.
Permission: Generally admin only for moderation actions. Some informational commands may be public.
3. Media and Download Commands
Media commands are used to process supported images, videos, audio, and other files.
Some commands work with media attached to a WhatsApp message, while others accept links or text input.
sticker:What it does: Converts supported images or videos into stickers.
toimage:What it does: Converts a supported sticker into an image.
take:What it does: May create a customized sticker using provided information.
removebg:What it does: Attempts to remove an image background through a supported processing service.
compress:What it does: Reduces the size of supported media files.
resize:What it does: Changes image dimensions.
mp3:What it does: Requests audio extraction from a supported media source.
play:What it does: Searches for or processes supported audio content.
video:What it does: Requests a supported video retrieval operation.
tiktok:What it does: May process a supported TikTok link.
instagram:What it does: May process supported Instagram media links.
facebook:What it does: May process supported Facebook media links.
ytmp3:What it does: Requests audio from a supported YouTube source.
ytmp4:What it does: Requests video from a supported YouTube source.
tourl:What it does: May upload supported media and return a URL.
Not every bot supports these features.
Media commands may require additional packages, external APIs, sufficient server memory, or access to supported services.
Some platforms may also restrict automated downloads.
Only download and share content when you have the necessary rights and permission.
Permission: Often public, although individual projects may impose restrictions.
4. Fun and Games Commands
Fun commands add entertainment to WhatsApp conversations.
They are commonly used in groups where members want interactive activities.
joke:What it does: Returns a joke.
quote:What it does: Displays a random quote.
truth:What it does: Provides a truth question.
dare:What it does: Provides a dare challenge.
quiz:What it does: Starts or displays a quiz question.
riddle:What it does: Provides a riddle.
guess:What it does: Starts a supported guessing game.
dice:What it does: Generates a dice result.
flip:What it does: Simulates a coin flip.
fact:What it does: Displays an interesting fact.
compliment:What it does: Generates a positive message.
ship:What it does: May generate a playful compatibility result.
rate:What it does: Provides a random rating for entertainment.
character:What it does: May return a random character or personality result.
These commands are generally intended for entertainment.
Some games require multiple users or a sequence of messages to complete.
Their exact behaviour depends on the bot's programming.
Permission: Usually public, depending on the project.
5. Utility Commands
Utility commands help users perform small everyday tasks without leaving WhatsApp.
They may process text, calculate values, display information, or connect to external services.
calculate:What it does: Performs a mathematical calculation.
math:What it does: Processes a supported mathematical expression.
time:What it does: Displays the current time from a supported time source.
date:What it does: Displays date information.
translate:What it does: Translates supported text.
shorturl:What it does: Creates a shortened URL through a supported service.
weather:What it does: Requests weather information from an external source.
define:What it does: Searches for the meaning of a word.
wiki:What it does: Requests information from a supported encyclopedia source.
qr:What it does: Generates a QR code from supported input.
text:What it does: May provide text formatting or processing.
count:What it does: Counts words or characters in supplied text.
password:What it does: May generate a random password.
reminder:What it does: Creates a reminder if the bot supports scheduled tasks.
convert:What it does: Converts supported units or formats.
Some utility commands work directly within the application.
Others require external APIs or additional configuration.
For example, a weather command may stop responding if its external service is unavailable or its API key is invalid.
Permission: Usually public, depending on the feature.
6. AI Commands
AI commands connect a WhatsApp bot to an artificial intelligence service.
They can allow users to ask questions, generate text, summarize information, and perform other supported tasks.
ai:What it does: Sends a prompt to an AI service.
ask:What it does: Answers a user question using an AI model.
chat:What it does: Starts or continues an AI conversation.
imagine:What it does: Requests AI image generation if supported.
summarize:What it does: Summarizes supplied text.
rewrite:What it does: Rewrites text in a requested style.
code:What it does: Requests programming assistance.
explain:What it does: Requests an explanation of a topic.
translateai:What it does: Requests AI powered translation.
vision:What it does: Processes supported images through an AI service.
AI commands are not automatically included in every WhatsApp MD bot.
They may require:
An external AI provider.
An API key.
Additional configuration.
Internet connectivity.
Sufficient usage allowance.
Some AI services may charge for usage.
Avoid sharing passwords, private documents, or sensitive personal information through AI commands unless you understand how the service processes the information.
Permission: Usually public, but individual projects may apply usage restrictions.
7. Owner Only Commands
Owner commands control privileged parts of the bot application.
Unlike ordinary commands, these are generally restricted to the person who owns or manages the bot.
The exact commands depend on the project.
restart:What it does: Restarts the bot application if supported.
shutdown:What it does: Stops the bot process.
mode:What it does: Changes the bot's supported operating mode.
setprefix:What it does: Changes the command prefix if supported.
addsudo:What it does: Adds an authorized sudo user.
delsudo:What it does: Removes a sudo user.
ban:What it does: Blocks a user from accessing selected bot features.
unban:What it does: Removes a bot level restriction.
plugin:What it does: Displays or manages supported plugins.
install:What it does: Installs a supported plugin or component if implemented.
remove:What it does: Removes a supported plugin or component.
update:What it does: Runs a supported update operation.
broadcast:What it does: Sends an announcement through a supported bot function.
setowner:What it does: Changes owner configuration if the project allows it.
settings:What it does: Displays or manages bot configuration.
Be especially careful with owner commands.
Some can stop the application, change access permissions, or modify important configuration settings.
Do not execute unfamiliar owner commands just because they appear in an online tutorial.
Permission: Owner only or another privileged role defined by the project.
8. Additional Permission and Configuration Commands
Some projects use additional command categories or special access levels.
For example, a bot may distinguish between the owner, sudo users, group administrators, and ordinary users.
Here are some additional generic examples.
public:What it does: Enables public operating mode if supported.
private:What it does: Restricts bot interaction according to its private mode settings.
setbio:What it does: Changes a supported bot profile description.
setname:What it does: Changes the bot profile name where supported.
block:What it does: Blocks selected users from using the bot.
unblock:What it does: Removes a supported user restriction.
logs:What it does: Displays selected application logs if implemented.
stats:What it does: Displays supported bot statistics.
clear:What it does: Clears selected bot data or messages if implemented.
These examples may overlap with other categories.
Their availability and exact meaning depend on the source code.