Professor-Redwood-Team / Professor-Redwood

Pokemon Go Discord Bot
MIT License
34 stars 21 forks source link

Add !raids #1

Closed pjlangsam closed 6 years ago

pjlangsam commented 7 years ago

Save raids with an object or databsae to allow usersto see current raids in their neighborhood

mralanlee commented 7 years ago

@pjlangsam on it!

Going to try and save the raids in memory

mralanlee commented 7 years ago

Raids is ready for review in #33 Groups is still be worked on.

Current functionality is:

  1. Returns raids based on what channel the command was called on.
  2. Returns raids based on what channel the command was called on and accepts a pokemon parameter for filtering.
  3. Also self-expiring which is handled by TTL index on the DB end.

Also it appends a unique ID to the raid for creating groups later.