Problem: The bot uses two methods, getUser and getChannelMembers, which are subjects to Slack's rate limits, and we need to avoid unneeded calls to those methods.
Solution: Add caching for user info and channel members.
Related issue(s)
Fixed #7
:white_check_mark: Checklist for your Pull Request
Related changes (conditional)
Tests
[ ] If I added new functionality, I added tests covering it.
[ ] If I fixed a bug, I added a regression test to prevent the bug from
silently reappearing again.
Documentation
[ ] I checked whether I should update the docs and did so if necessary:
Description
Problem: The bot uses two methods,
getUser
andgetChannelMembers
, which are subjects to Slack's rate limits, and we need to avoid unneeded calls to those methods.Solution: Add caching for user info and channel members.
Related issue(s)
Fixed #7
:white_check_mark: Checklist for your Pull Request
Related changes (conditional)
Tests
Documentation
Stylistic guide (mandatory)