-4

I am making a contest bot. I have a problem. When the user sends the answer to the question in one breath, it gives a point to both users and repeat next question. I want a point to be calculated for the one with the fastest answer. Thank you

click to look at code

Osamah
  • 11
  • 2

1 Answers1

0

There is no guarantee that messages will arrive at the same time. Even if they will be sent together because it depends on:

  • your hosting network;
  • Telegram servers - there are multiple of them and 2 messages can go to different (more busy);
  • User network;
  • User device and app response time.

Everything together can't give you the same time, but may give almost the same time - few ms difference (50-500).

wowkin2
  • 5,895
  • 5
  • 23
  • 66