Git Product home page Git Product logo

Comments (3)

rushi4tg avatar rushi4tg commented on June 12, 2024

Also .faceai and .animai dont work for me
And .img command throughs error in heroku log and bot restart
btw,thanks for this awesome ,your hardwork for maintaing the bot is pro _/ _

from whatsasenaduplicated.

phaticusthiccy avatar phaticusthiccy commented on June 12, 2024

the bot replys(output) for the given command in random chats sometimes.
example:-
I send .alive to xyz person/group chat
The .alive msg is deleted from the xyz person/group chat
But the output of .alive is sent to abc person/group!
And the xyz person/group chat dont get output msg..

Hi @rushi4tg
Firstly sorry for late reply.
This Issue caused by server delay, so ı mean ping.
Ping value refers to the speed of your connection to the server. (1000ms = 1 second)
Bailyes and we are using message.jid
This means that; Every messages had own unique values. And every groups and chats has their own values. Like [email protected] or [email protected]
Sometimes (when your ping is high) it will send messages another chats.
This and the older WhatsAsena versions are used to send message with a new message.jid checker. Here is the mini example for you:

await message.client.sendMessage(
    message.jid, 
    'Test One',
    MessageType.text
) // We can send a new message with instant message.jid
await message.client.sendMessage(
    message.jid, 
    'Test Two',
    MessageType.text
) // And another message with instant message.jid again.

Now, we are using one more time this message.jid.
It will check one more time. Example for you:

var id = message.jid
await message.client.sendMessage(
    id, 
    'New Test One',
    MessageType.text
)  // New message with first message.jid
await message.client.sendMessage(
    id, 
    'New Test Two',
    MessageType.text
)  // Again, new message with the first message.jid

This thing will improve general stability. And also this thing will mostly solve this issue. Please wait new version with patience :)
There are tons of changes.

from whatsasenaduplicated.

github-actions avatar github-actions commented on June 12, 2024

This issue is stale Because it has been open 5 days with no activity. Remove the stale label or comment or this will be closed in 2 days

from whatsasenaduplicated.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.