Skip to content
This repository has been archived by the owner on Oct 20, 2018. It is now read-only.

Duplicate messages when command is entered by 2 users at once. #22

Closed
ltegman opened this issue Dec 1, 2015 · 5 comments
Closed

Duplicate messages when command is entered by 2 users at once. #22

ltegman opened this issue Dec 1, 2015 · 5 comments
Labels

Comments

@ltegman
Copy link
Member

ltegman commented Dec 1, 2015

The following happens when two campers call up the code formatting wiki article at the same time (a common occurrence when someone doesn't format their code with markdown).
freecodecamp_freecodecamp-_gitter

@MaXFalstein
Copy link

One way to fix this could be to run a counter for one minute where an explain command is used, Camperbot will not post after the first instance.

@abhisekp
Copy link
Member

@MaXwellFalstein a debounce function for that command for a minute.

@MaXFalstein
Copy link

@abhisekp yes, a debounce function would be good.
Any idea if it is already supported?

@abhisekp
Copy link
Member

@MaXwellFalstein here is another issue related to this #9

Lodash has a _.debounce function which can be used here, i guess.

@raisedadead
Copy link
Member

Closing as a wontfix
#103

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants