lyfe00011 / whatsapp-bot-md

A whatsapp Multi Device bot based on baileys
1.75k stars 18.79k forks source link

Bot not working for others 😭 #313

Closed badu-ser closed 6 months ago

badu-ser commented 6 months ago

Bot is not working for others who aren't sudo. I'll send you the screenshot also.. What should I do? Is there any env variable for making it public.? Screenshot_20231226_185105 Screenshot_20231226_185110

weskerty commented 6 months ago

Send .list AND READ each function. Only sudos can control the bot. To add sudo to someone you must quote their message with the .setsudo command. This will give that person full control of the bot.

If you want a group or person to have only specific permissions, you must send .zushi and the command to use. Example .zushi gpt, there the whole group can use only gpt.

badu-ser commented 6 months ago

Everyone need to use every function, what to do?

On Tue, Dec 26, 2023, 7:03 PM laWiskaPY @.***> wrote:

Send .list AND READ each function. Only sudos can control the bot. To add sudo to someone you must quote their message with the .setsudo command. This will give that person full control of the bot.

If you want a group or person to have only specific permissions, you must send .zushi and the command to use. Example .zushi gpt, there the whole group can use only gpt.

Before asking these questions, read.

— Reply to this email directly, view it on GitHub https://github.com/lyfe00011/whatsapp-bot-md/issues/313#issuecomment-1869550836, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYA6VQVYBTNLT7A3JRZ7CZDYLLG4HAVCNFSM6AAAAABBDJDK62VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZGU2TAOBTGY . You are receiving this because you authored the thread.Message ID: @.***>

weskerty commented 6 months ago

Everyone need to use every function, what to do?

Sure? If everyone can use all the features then everyone could ban, reboot, or overwhelm the bot.

If you want to allow everyone in a group to use all features, send .zushi gpt sticker cs qc... and all the other commands you need. Currently I only know this possibility. Send .zushi and the commands to use for each chat that you want to give global permission.

badu-ser commented 6 months ago

Bro I mean not all, I mean that only utility, download, edits etc. what I can do?

On Tue, Dec 26, 2023, 7:08 PM laWiskaPY @.***> wrote:

Everyone need to use every function, what to do?

Sure? If everyone can use all the features then everyone could ban, reboot, or overwhelm the bot.

If you want to add all the functions in a group send .zushi gpt sticker cs qc... and all the other commands you need.

— Reply to this email directly, view it on GitHub https://github.com/lyfe00011/whatsapp-bot-md/issues/313#issuecomment-1869553303, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYA6VQWGKG5L4WD63ZLWBTDYLLHNFAVCNFSM6AAAAABBDJDK62VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZGU2TGMZQGM . You are receiving this because you authored the thread.Message ID: @.***>

lyfe00011 commented 6 months ago

cmd zushi helps you

badu-ser commented 6 months ago

Writing all needed cmds are boring and time consuming. Make env var MODE = public Deploying the bot only for me is not making sense.

lyfe00011 commented 6 months ago

If you can't spend a minute better don't try this one.

weskerty commented 6 months ago

Make env var MODE = public Deploying the bot only for me is not making sense.

If many send you messages or you exceed 250 messages sent every so often, WhatsApp will block your account. Remember that bots are prohibited on WhatsApp. My account was banned for sending 350 messages in less than 30m, and the worst thing is that when I want to start again it has a new requirement, PlayIntegrity-Meets, and without that level you cannot log in.