Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

agent-bot example will spam all conversations on account as fast as it possible can #109

Open
lp-tattwell opened this issue Dec 4, 2019 · 0 comments

Comments

@lp-tattwell
Copy link

This is a bad one. I started up the default echo bot with no edits on my test account and fired about 3200 messages in less than a second.

  1. Start the bot up on an account
  2. Start a conversation. The echo bot works perfectly
  3. Start a second conversation
  4. The echo bot thinks the userId has changed (because it only stores 1 at a time) and sends a message saying "Consumer stepped up in conversation with..." to the second conversation. Echo bot stores the 2nd customer ID.
  5. The bot then gets in to an infinite loop between sending messages to both conversations, updating the consumerId making it send more step up messages etc etc
  6. repeat steps 4-5
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant